HQP
1.9.6
|
Interface to lp_solve (see: http://lpsolve.sourceforge.net/5.5). More...
#include <Hqp_LPSolve.h>
Public Member Functions | |
Hqp_LPSolve () | |
constructor | |
virtual | ~Hqp_LPSolve () |
destructor | |
virtual int | init (IF_DEF_ARGS) |
initialize a MIP for an optimization problem given in _prg | |
virtual int | solve (IF_DEF_ARGS) |
initialize and solve a MIP for an optimization problem given in _prg | |
virtual void | dump () |
Write current linear program to the file mip_dump.lp. | |
const char * | name () |
solver name | |
Member access methods | |
double | gap () const |
absolute tolerance for branch&bound | |
void | set_gap (double value) |
set absolute tolerance for branch&bound | |
double | timeout () const |
timeout for solver in seconds | |
void | set_timeout (double value) |
set timeout | |
int | logging () const |
verbose level for log messages (0: neutral, 1: critical, 2: severe, 3: important, 4: normal, 5: detailed, 6: full) | |
void | set_logging (int value) |
set logging | |
const char * | dump_format () const |
format for dump of lp | |
void | set_dump_format (const char *value) |
set dump format ("lp" or "mps") | |
Public Member Functions inherited from Hqp_MipSolver | |
Hqp_MipSolver () | |
constructor | |
virtual | ~Hqp_MipSolver () |
destructor | |
Hqp_SqpProgram * | prg () |
void | set_prg (Hqp_SqpProgram *) |
Protected Attributes | |
lprec * | _lp |
the linear program for lp_solve | |
double | _gap |
allowed tolerance for branch&bound | |
int | _timeout |
timeout for solver | |
int | _logging |
verbose level | |
char * | _dump_format |
format for dump files | |
Protected Attributes inherited from Hqp_MipSolver | |
If_List | _ifList |
interface elements | |
Hqp_SqpProgram * | _prg |
optimization problem to work on | |
Interface to lp_solve (see: http://lpsolve.sourceforge.net/5.5).