IpoptSolver Class Reference

The IpoptSolver class solves problems using Ipopt. More...

#include <OSIpoptSolver.h>

Inheritance diagram for IpoptSolver:
Inheritance graph
[legend]
Collaboration diagram for IpoptSolver:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IpoptSolver ()
 the IpoptSolver class constructor
 ~IpoptSolver ()
 the IpoptSolver class destructor
virtual void solve () throw (ErrorClass)
 solve results in an instance being read into the Ipopt data structures and optimize
virtual void buildSolverInstance () throw (ErrorClass)
 The implementation of the virtual functions.
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

Public Attributes

Ipopt::SmartPtr< Ipopt::TNLP > nlp
Ipopt::SmartPtr
< Ipopt::IpoptApplication > 
app
OSiLReaderm_osilreader
 m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed
OSoLReaderm_osolreader
 m_osolreader is an OSoLReader object used to create an osoption from an osol string if needed

Private Attributes

OSrLWriterosrlwriter
std::string * ipoptErrorMsg

Detailed Description

The IpoptSolver class solves problems using Ipopt.

Author:
Robert Fourer, Jun Ma, Kipp Martin
Version:
1.0, 03/14/2004
Since:
OS 1.0
Remarks:
this class takes an OSiL instance and optimizes it using the COIN-OR Ipopt solver

Definition at line 167 of file OSIpoptSolver.h.


Constructor & Destructor Documentation

IpoptSolver::IpoptSolver (  ) 

the IpoptSolver class constructor

Definition at line 32 of file OSIpoptSolver.cpp.

IpoptSolver::~IpoptSolver (  ) 

the IpoptSolver class destructor

Definition at line 45 of file OSIpoptSolver.cpp.


Member Function Documentation

void IpoptSolver::solve (  )  throw (ErrorClass) [virtual]

solve results in an instance being read into the Ipopt data structures and optimize

Implements DefaultSolver.

Definition at line 1010 of file OSIpoptSolver.cpp.

void IpoptSolver::buildSolverInstance (  )  throw (ErrorClass) [virtual]

The implementation of the virtual functions.

Returns:
void.

Implements DefaultSolver.

Definition at line 856 of file OSIpoptSolver.cpp.

void IpoptSolver::setSolverOptions (  )  throw (ErrorClass) [virtual]

The implementation of the virtual functions.

Returns:
void.

Implements DefaultSolver.

Definition at line 895 of file OSIpoptSolver.cpp.

void IpoptSolver::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 1041 of file OSIpoptSolver.cpp.


Member Data Documentation

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.

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.

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.

Definition at line 219 of file OSIpoptSolver.h.

std::string* IpoptSolver::ipoptErrorMsg [private]

Definition at line 237 of file OSIpoptSolver.h.


The documentation for this class was generated from the following files:

Generated on 5 Jul 2015 by  doxygen 1.6.1