|
| ~OsiClp () |
| Destructor.
|
|
STATUS | solve () |
| Solve the problem loaded with Clp.
|
|
void | readMps (const char *filename) |
| Load a problem from a mps file.
|
|
| OsiSolver () |
| Constructor.
|
|
| ~OsiSolver () |
| Destructor.
|
|
void | setMaxTime (double time) |
| Set maximum time allowed to solve the problem.
|
|
double | getMaxTime () |
| Get maximum time allowed to solve the problem.
|
|
void | setNumThreads (int numThreads) |
| Set the maximum number of threads that the solver can use to solve the problem.
|
|
int | getNumThreads () |
| Get the maximum number of threads that the solver can use to solve the problem.
|
|
void | setFirstFeasible (bool stopAtFirstFeasible) |
| Set if the execution must be stopped at first feasible solution.
|
|
bool | getFirstFeasible () |
| Get if the execution must be stopped at first feasible solution.
|
|
void | setLogFileName (char *filename) |
| Set the name of the log file.
|
|
const char * | getLogFileName () |
| Get the name of the log file.
|
|
OsiSolverInterface * | getSolverInterface () |
| Get solver interface.
|
|
void | loadProblem (int numRows, int numColumns, int nz, double obj[], double qobj[], double lb[], double ub[], double lhs[], double rhs[], int begRows[], int indCols[], double values[], bool copy_vectors=true) |
| Load a problem.
|
|
double | getObjValue () |
| Get the objective function value.
|
|
virtual const double * | getSolution () |
| Get the solution.
|
|
int | getNumVars () |
| Get the number of variables.
|
|
virtual const string * | getVarNames () |
| Get the name of variables.
|
|
Class to solve problems through Osi with Clp.