15 #ifndef COUENNESOLVER_H 16 #define COUENNESOLVER_H 35 # include <cppad/cppad.hpp> 46 #include "BonCouenneSetup.hpp" 47 #include "CouenneBab.hpp" 122 Ipopt::SmartPtr<Bonmin::TNLPSolver>
app_ ;
127 Couenne::CouenneBab
bb;
137 Couenne::CouenneSetup couenneSetup;
138 std::string couenneErrorMsg;
140 Couenne::expression* createCouenneExpression(
OSnLNode* node);
Ipopt::SmartPtr< Bonmin::TNLPSolver > app_
Couenne::expression * con_body
used for throwing exceptions.
void writeResult()
use this to write the solution information to an OSResult object
Couenne::CouenneProblem * couenne
virtual void solve()
solve results in an instance being read into the Couenne data structrues and optimized
Take an OSResult object and write a string that validates against OSrL.
Ipopt::SmartPtr< BonminProblem > tminlp
virtual void buildSolverInstance()
buildSolverInstance is a virtual function – the actual solvers will implement their own buildSolverIn...
Used to read an OSiL string.
OSoLReader * m_osolreader
m_osolreader is an OSoLReader object used to create an osoption from an osol string if needed
Couenne::expression * obj_body
Bonmin::TMINLP::SolverReturn status
Used to read an OSoL string.
~CouenneSolver()
the IpoptSolver class destructor
This file defines the OSInstance class along with its supporting classes.
CouenneSolver()
the CouenneSolver class constructor
This file defines the OSnLNode class along with its derived classes.
The CouenneSolver class solves problems using Ipopt.
The Default Solver Class.
void dataEchoCheck()
use this for debugging, print out the instance that the solver thinks it has and compare this with th...
OSiLReader * m_osilreader
m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed
virtual void setSolverOptions()
The implementation of the virtual functions.
The OSnLNode Class for nonlinear expressions.