OS
2.9.3
|
The IpoptSolver class solves problems using Ipopt. More...
#include <OSIpoptSolver.h>
Public Member Functions | |
IpoptSolver () | |
the IpoptSolver class constructor More... | |
~IpoptSolver () | |
the IpoptSolver class destructor More... | |
virtual void | solve () throw (ErrorClass) |
solve results in an instance being read into the Ipopt data structures and optimize More... | |
virtual void | buildSolverInstance () throw (ErrorClass) |
The implementation of the virtual functions. More... | |
virtual void | setSolverOptions () throw (ErrorClass) |
The implementation of the virtual functions. More... | |
void | dataEchoCheck () |
use this for debugging, print out the instance that the solver thinks it has and compare this with the OSiL file More... | |
![]() | |
DefaultSolver () | |
default constructor. More... | |
virtual | ~DefaultSolver ()=0 |
default destructor. More... | |
Public Attributes | |
Ipopt::SmartPtr< Ipopt::TNLP > | nlp |
Ipopt::SmartPtr< Ipopt::IpoptApplication > | app |
OSiLReader * | m_osilreader |
m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed More... | |
OSoLReader * | m_osolreader |
m_osolreader is an OSoLReader object used to create an osoption from an osol string if needed More... | |
![]() | |
std::string | osil |
osil holds the problem instance as a std::string More... | |
std::string | osol |
osol holds the options for the solver More... | |
std::string | osrl |
osrl holds the solution or result of the model More... | |
OSInstance * | osinstance |
osinstance holds the problem instance in-memory as an OSInstance object More... | |
OSOption * | osoption |
osoption holds the solver options in-memory as an OSOption object More... | |
OSResult * | osresult |
osresult holds the solution or result of the model in-memory as an OSResult object More... | |
std::string | sSolverName |
sSolverName is the name of the Coin solver used, e.g. More... | |
bool | bCallbuildSolverInstance |
bCallbuildSolverInstance is set to true if buildSolverService has been called More... | |
bool | bSetSolverOptions |
bSetSolverOptions is set to true if setSolverOptions has been called, false otherwise More... | |
The IpoptSolver class solves problems using Ipopt.
Definition at line 167 of file OSIpoptSolver.h.
IpoptSolver::IpoptSolver | ( | ) |
the IpoptSolver class constructor
IpoptSolver::~IpoptSolver | ( | ) |
the IpoptSolver class destructor
|
virtual |
solve results in an instance being read into the Ipopt data structures and optimize
Implements DefaultSolver.
|
virtual |
|
virtual |
void IpoptSolver::dataEchoCheck | ( | ) |
use this for debugging, print out the instance that the solver thinks it has and compare this with the OSiL file
Ipopt::SmartPtr<Ipopt::TNLP> IpoptSolver::nlp |
Definition at line 177 of file OSIpoptSolver.h.
Ipopt::SmartPtr<Ipopt::IpoptApplication> IpoptSolver::app |
Definition at line 179 of file OSIpoptSolver.h.
OSiLReader* IpoptSolver::m_osilreader |
m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed
Definition at line 209 of file OSIpoptSolver.h.
OSoLReader* IpoptSolver::m_osolreader |
m_osolreader is an OSoLReader object used to create an osoption from an osol string if needed
Definition at line 215 of file OSIpoptSolver.h.