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 structrues and optimized
virtual void buildSolverInstance () throw (ErrorClass)
 buildSolverInstance is a virtual function -- the actual solvers will implement their own solve method -- the solver instance is the instance the individual solver sees in its api
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

SmartPtr< TNLPnlp
SmartPtr< IpoptApplicationapp
OSiLReaderm_osilreader
 m_osilreader is an OSiLReader object used to create an osinstance from an osil 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 190 of file OSIpoptSolver.h.


Constructor & Destructor Documentation

IpoptSolver::IpoptSolver (  ) 

the IpoptSolver class constructor

IpoptSolver::~IpoptSolver (  ) 

the IpoptSolver class destructor


Member Function Documentation

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

solve results in an instance being read into the Ipopt data structrues and optimized

Implements DefaultSolver.

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

buildSolverInstance is a virtual function -- the actual solvers will implement their own solve method -- the solver instance is the instance the individual solver sees in its api

Implements DefaultSolver.

void IpoptSolver::dataEchoCheck (  ) 

use this for debugging, print out the instance that the solver thinks it has and compare this with the OSiL file


Member Data Documentation

Definition at line 201 of file OSIpoptSolver.h.

Definition at line 203 of file OSIpoptSolver.h.

m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed

Definition at line 227 of file OSIpoptSolver.h.

Definition at line 231 of file OSIpoptSolver.h.

std::string IpoptSolver::ipoptErrorMsg [private]

Definition at line 249 of file OSIpoptSolver.h.


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

Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1