|
Solve a MPS or LP file.
Parameters |
Description |
_LONG_T options |
If 1 then at least one of the solver related options has changed and the solver should retrieve these changed options by calling the GetChangedOptions method before actually solving the problem |
_LONG_T int_param[] |
The integer problem parameter array of size IntegerMathProgramInfo::IPARAM_MAX, indexed over the IntegerMathProgramInfo enumeration |
double dbl_param[] |
The double-valued problem parameter array of size DoubleMathProgramInfo::DPARAM_MAX, indexed over the DoubleMathProgramInfo enumeration |
size_t int_stat[] |
The integer solution status array of size IntegerMathProgramStatus::ISTAT_MAX to be filled by the solver after solving the problem, indexed over the IntegerMathProgramStatus enumeration |
double dbl_stat[] |
The double-valued solution status array of size DoubleMathProgramStatus::DSTAT_MAX to be filled by the solver after solving the problem, indexed over the DoubleMathProgramStatus enumaration |
_LONG_T filename_len |
Length of file name |
_TCHAR * filename |
Name of the MPS or LP file |
_LONG_T create_sol_file |
If 1, let solver create a solution file |
The DoMpsSolve method has no return value. Instead the status is returned via the int_stat and dbl_stat output arguments.
The DoMpsSolve method is called by AIMMS to request a solver to solve a MPS or LP file. If a solver is able to solve a MPS or LP file the implementation of this method should include the following tasks: