The BonminSolver class solves problems using Ipopt. More...
#include <OSBonminSolver.h>
Public Member Functions | |
BonminSolver () | |
the BonminSolver class constructor | |
~BonminSolver () | |
the IpoptSolver class destructor | |
virtual void | solve () throw (ErrorClass) |
solve results in an instance being read into the Bonmin data structrues and optimized | |
virtual void | buildSolverInstance () throw (ErrorClass) |
buildSolverInstance is a virtual function -- the actual solvers will implement their own buildSolverInstance method -- the solver instance is the instance the individual solver sees in its API | |
virtual void | setSolverOptions () throw (ErrorClass) |
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 the OSiL file | |
void | writeResult () |
use this to write the solution information to an OSResult object | |
Public Attributes | |
Ipopt::SmartPtr< BonminProblem > | tminlp |
Bonmin::Bab | bb |
Bonmin::TMINLP::SolverReturn | status |
OSiLReader * | m_osilreader |
m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed | |
OSoLReader * | m_osolreader |
m_osolreader is an OSoLReader object used to create an osoption from an osol string if needed | |
Private Attributes | |
OSrLWriter * | osrlwriter |
Bonmin::BonminSetup | bonminSetup |
std::string | bonminErrorMsg |
The BonminSolver class solves problems using Ipopt.
Definition at line 225 of file OSBonminSolver.h.
BonminSolver::BonminSolver | ( | ) |
the BonminSolver class constructor
Definition at line 39 of file OSBonminSolver.cpp.
BonminSolver::~BonminSolver | ( | ) |
the IpoptSolver class destructor
Definition at line 49 of file OSBonminSolver.cpp.
void BonminSolver::solve | ( | ) | throw (ErrorClass) [virtual] |
solve results in an instance being read into the Bonmin data structrues and optimized
Implements DefaultSolver.
Definition at line 826 of file OSBonminSolver.cpp.
void BonminSolver::buildSolverInstance | ( | ) | throw (ErrorClass) [virtual] |
buildSolverInstance is a virtual function -- the actual solvers will implement their own buildSolverInstance method -- the solver instance is the instance the individual solver sees in its API
Implements DefaultSolver.
Definition at line 660 of file OSBonminSolver.cpp.
void BonminSolver::setSolverOptions | ( | ) | throw (ErrorClass) [virtual] |
The implementation of the virtual functions.
Implements DefaultSolver.
Definition at line 689 of file OSBonminSolver.cpp.
void BonminSolver::dataEchoCheck | ( | ) |
use this for debugging, print out the instance that the solver thinks it has and compare this with the OSiL file
Definition at line 1073 of file OSBonminSolver.cpp.
void BonminSolver::writeResult | ( | ) |
use this to write the solution information to an OSResult object
Definition at line 938 of file OSBonminSolver.cpp.
Ipopt::SmartPtr<BonminProblem> BonminSolver::tminlp |
Definition at line 239 of file OSBonminSolver.h.
Definition at line 242 of file OSBonminSolver.h.
Definition at line 244 of file OSBonminSolver.h.
m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed
Definition at line 276 of file OSBonminSolver.h.
m_osolreader is an OSoLReader object used to create an osoption from an osol string if needed
Definition at line 282 of file OSBonminSolver.h.
OSrLWriter* BonminSolver::osrlwriter [private] |
Definition at line 294 of file OSBonminSolver.h.
Bonmin::BonminSetup BonminSolver::bonminSetup [private] |
Definition at line 296 of file OSBonminSolver.h.
std::string BonminSolver::bonminErrorMsg [private] |
Definition at line 298 of file OSBonminSolver.h.