Procedure GMP::SolverSession::Execute(solverSession)


The procedure GMP::SolverSession::Execute invokes the solution algorithm to solve the mathematical program for which it had been generated.

     solverSession   ! (input) a solver session



An element in the set AllSolverSessions.

Return Value

The procedure returns 1 on success, or 0 otherwise.


  • This procedure will not copy the initial solution into the solver, or copy the final solution back into solution repository or model identifiers. When you use this function you always have to explicitly call functions from the GMP::Solution namespace to accomplish these tasks.

  • This procedure does not create a listing file but you can use the procedure GMP::Solution::ConstraintListing for that.