IpOpt Class Reference

#include <ipopt2.h>

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

List of all members.

Public Member Functions

 IpOpt (const Pointer< MinlpProblem > prob_, Pointer< Param > param_, Pointer< ostream > out_solver_p_=out_out_p, Pointer< ostream > out_solver_log_p_=out_log_p)
 ~IpOpt ()
void reinit ()
int solve ()
 Solves the problem.
int solve (dvector &start)
 Solves the problem for a starting point.
dvector get_lag_multipliers ()

Private Attributes

Pointer< Paramparam
SmartPtr< IpoptApplication > ipopt
SmartPtr< TNLP > ipoptproblem
dvector lambda

Friends

class IpOptProblem

Detailed Description

Definition at line 103 of file ipopt2.h.


Constructor & Destructor Documentation

IpOpt::IpOpt ( const Pointer< MinlpProblem prob_,
Pointer< Param param_,
Pointer< ostream >  out_solver_p_ = out_out_p,
Pointer< ostream >  out_solver_log_p_ = out_log_p 
)
IpOpt::~IpOpt (  )  [inline]

Definition at line 116 of file ipopt2.h.


Member Function Documentation

void IpOpt::reinit (  )  [virtual]

Reimplemented from LocOpt.

int IpOpt::solve (  )  [virtual]

Solves the problem.

Abstract.

Returns:
A status code: 0, if all went right.
See also:
solve(dvector&)

Implements Solver.

int IpOpt::solve ( dvector x  )  [virtual]

Solves the problem for a starting point.

Sets sol_point to x. Calls solve().

Parameters:
x The dvector to start the solver with.
See also:
solve()

Reimplemented from Solver.

dvector IpOpt::get_lag_multipliers (  )  [inline, virtual]

Implements LocOpt.

Definition at line 122 of file ipopt2.h.


Friends And Related Function Documentation

friend class IpOptProblem [friend]

Definition at line 104 of file ipopt2.h.


Member Data Documentation

Definition at line 106 of file ipopt2.h.

SmartPtr<IpoptApplication> IpOpt::ipopt [private]

Definition at line 108 of file ipopt2.h.

SmartPtr<TNLP> IpOpt::ipoptproblem [private]

Definition at line 109 of file ipopt2.h.

Definition at line 111 of file ipopt2.h.


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

Generated on 10 Mar 2013 for LaGO by  doxygen 1.6.1