- Set CurrentSolver
CurrentSolver
The predefined element parameter CurrentSolver
contains, for every
mathematical programming type, the name of the solver that AIMMS will
currently use to solve models of that type.
ElementParameter CurrentSolver {
IndexDomain : IndexMathematicalProgrammingTypes;
Range : AllSolvers;
}
Definition
The contents of the element parameter
CurrentSolver
are, for all types of mathematical programs, the names of the currently active solver for solving mathematical programs of each type, as set through the Solver Configuration dialog box.
Updatability
The value of
CurrentSolver
can also be modified programmatically from within an AIMMS model, and then determines the solver that will be used to solve subsequent problems of the specified type. Modifying the values ofCurrentSolver
will, however, not modify the (default) settings in the Solver Configuration dialog box, that will be loaded at startup.
Note
The procedure
GMP::Instance::Solve
takesCurrentSolver
into account unless a solver has been assigned using the procedureGMP::Instance::SetSolver
.The procedures
GMP::SolverSession::Execute
andGMP::SolverSession::AsynchronousExecute
takeCurrentSolver
into account unless a solver has been assigned using the functionGMP::Instance::CreateSolverSession
or the procedureGMP::Instance::SetSolver
.
See also
The sets
AllMathematicalProgrammingTypes
andAllSolvers
.Solver configuration is discussed in full detail in Solver configuration.