Function GMP::SolverSession::GetSolver(solverSession)

GMP::SolverSession::GetSolver

The function GMP::SolverSession::GetSolver returns the solver belonging to a solver session.

GMP::SolverSession::GetSolver(
     solverSession     ! (input) a solver session
     )

Arguments

solverSession

An element in the set AllSolverSessions.

Return Value

The solver belonging to a solver session as an element of AllSolvers.

Note

Which solver is assigned to the solver session is determined by the routines GMP::Instance::CreateSolverSession and GMP::Instance::SetSolver. Note that if the Solver argument of GMP::Instance::CreateSolverSession is used then it overrules GMP::Instance::SetSolver.