- 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
CurrentSolverare, 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
CurrentSolvercan 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 ofCurrentSolverwill, however, not modify the (default) settings in the Solver Configuration dialog box, that will be loaded at startup.
Note
The procedure
GMP::Instance::SolvetakesCurrentSolverinto account unless a solver has been assigned using the procedureGMP::Instance::SetSolver.The procedures
GMP::SolverSession::ExecuteandGMP::SolverSession::AsynchronousExecutetakeCurrentSolverinto account unless a solver has been assigned using the functionGMP::Instance::CreateSolverSessionor the procedureGMP::Instance::SetSolver.
See also
The sets
AllMathematicalProgrammingTypesandAllSolvers.Solver configuration is discussed in full detail in Solver configuration.