HQP  1.9.6
Hqp_LPSolve Class Reference

Interface to lp_solve (see: http://lpsolve.sourceforge.net/5.5). More...

#include <Hqp_LPSolve.h>

Inheritance diagram for Hqp_LPSolve:
[legend]

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_SqpProgramprg ()
 
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
 

Detailed Description

Interface to lp_solve (see: http://lpsolve.sourceforge.net/5.5).


The documentation for this class was generated from the following file: