LPSolver Class Reference

Wrapper class to use a MIPSolver to solve LP's, which are given as MINLP's. More...

#include <opt.h>

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

List of all members.

Public Member Functions

 LPSolver (const Pointer< MinlpProblem > prob_)
dvector get_lag_multipliers ()
void reinit ()
int solve ()
 Solves the problem.
int solve (dvector &start)
 Solves the problem for a starting point.

Private Member Functions

void initmip ()
int solved (MIPSolver::SolutionStatus)

Private Attributes

Pointer< MIPSolvermipsolver
const Pointer< MinlpProblemprob

Detailed Description

Wrapper class to use a MIPSolver to solve LP's, which are given as MINLP's.

Definition at line 495 of file opt.h.


Constructor & Destructor Documentation

LPSolver::LPSolver ( const Pointer< MinlpProblem prob_  ) 

Member Function Documentation

void LPSolver::initmip (  )  [private]
int LPSolver::solved ( MIPSolver::SolutionStatus   )  [private]
dvector LPSolver::get_lag_multipliers (  )  [virtual]

Implements LocOpt.

void LPSolver::reinit (  )  [inline, virtual]

Reimplemented from LocOpt.

Definition at line 512 of file opt.h.

int LPSolver::solve (  )  [inline, virtual]

Solves the problem.

Abstract.

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

Implements Solver.

Definition at line 514 of file opt.h.

int LPSolver::solve ( dvector x  )  [inline, 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.

Definition at line 515 of file opt.h.


Member Data Documentation

Definition at line 497 of file opt.h.

Definition at line 498 of file opt.h.


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

Generated on 10 Mar 2013 for LaGO by  doxygen 1.6.1