Procedure GMP::Solution::SendToModel(GMP, solution)

GMP::Solution::SendToModel

The procedure GMP::Solution::SendToModel initializes the model identifiers with the values in the solution from the solution repository of a generated mathematical program.

GMP::Solution::SendToModel(
     GMP,            ! (input) a generated mathematical program
     solution        ! (input) a solution
     )

Arguments

GMP
An element in AllGeneratedMathematicalPrograms.
solution
An integer scalar reference to a solution.

Return Value

The procedure returns 1 on success, or 0 otherwise.

Note

A solution vector in the solution repository only contains solution data for the generated columns and rows of the GMP. Hence, no solution data is stored in the solution repository for columns and rows that were not generated.