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