Go to the documentation of this file.
33 # error "don't have header file for time"
62 virtual void solve() ;
149 int m_iLindoErrorCode;
156 int m_iNumberNewSlacks;
161 double *m_mdRhsValue;
196 std::string* m_msVarName;
201 std::string* m_msConName;
211 double m_mdObjConstant;
bool processVariables()
read the OSiL instance variables and put these into the LINDO API variables
Used to read an OSiL string.
bool generateLindoModel()
create the LINDO environment and read the problem into the internal LINDO data structures
bool processNonlinearExpressions()
read the nonlinear terms in the model
Take an OSResult object and write a string that validates against OSrL.
the LindoSolver class solves problems using Lindo.
virtual void buildSolverInstance()
buildSolverInstance is a virtual function – the actual solvers will implement their own buildSolver...
This file defines the OSInstance class along with its supporting classes.
bool processConstraints()
read the OSiL instance constraints and put these into the LINDO API constraints
void lindoAPIErrorCheck(std::string errormsg)
Lindo's generalized error Reporting function.
LindoSolver()
the LindoSolver class constructor
virtual void solve()
solve results in an instance being read into the Lindo data structures and optimized
bool addSlackVars()
LINDO does not handle constraints with upper and lower bounds this method is part of kludge where we ...
~LindoSolver()
the LindoSolver class destructor
virtual void setSolverOptions()
The implementation of the virtual functions.
void dataEchoCheck()
use this for debugging, print out the instance that the solver thinks it has and compare this with th...
used for throwing exceptions.
bool processQuadraticTerms()
read the quadratic terms in the model
bool optimize()
invoke the Lindo API solver
The Default Solver Class.
OSiLReader * m_osilreader
m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed