Bonmin  1.7
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes
Bonmin::LpBranchingSolver Class Reference

Implementation of BonChooseVariable for curvature-based braching. More...

#include <BonLpBranchingSolver.hpp>

Inheritance diagram for Bonmin::LpBranchingSolver:
Bonmin::StrongBranchingSolver

List of all members.

Public Member Functions

 LpBranchingSolver (BabSetupBase *b)
 Constructor from setup.
 LpBranchingSolver (const LpBranchingSolver &)
 Copy constructor.
LpBranchingSolveroperator= (const LpBranchingSolver &rhs)
 Assignment operator.
virtual ~LpBranchingSolver ()
 Destructor.
virtual void markHotStart (OsiTMINLPInterface *tminlp_interface)
 Called to initialize solver before a bunch of strong branching solves.
virtual TNLPSolver::ReturnStatus solveFromHotStart (OsiTMINLPInterface *tminlp_interface)
 Called to solve the current TMINLP (with changed bound information)
virtual void unmarkHotStart (OsiTMINLPInterface *tminlp_interface)
 Called after all strong branching solves in a node.
void setMaxCuttingPlaneIter (int num)

Static Public Member Functions

static void registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)

Private Types

enum  WarmStartMethod { Basis = 0, Clone }

Private Member Functions

 LpBranchingSolver ()
 Default Constructor.

Private Attributes

OsiSolverInterface * lin_
 Linear solver.
CoinWarmStart * warm_
 Warm start object for linear solver.
EcpCutsecp_
 Ecp cut generate.
int maxCuttingPlaneIterations_
 Number of maximal ECP cuts.
double abs_ecp_tol_
 absolute tolerance for ECP cuts
double rel_ecp_tol_
 relative tolerance for ECP cuts
WarmStartMethod warm_start_mode_
 Way problems are warm started.

Detailed Description

Implementation of BonChooseVariable for curvature-based braching.

Definition at line 15 of file BonLpBranchingSolver.hpp.


Member Enumeration Documentation

Enumerator:
Basis 
Clone 

clone problem

Definition at line 71 of file BonLpBranchingSolver.hpp.


Constructor & Destructor Documentation

Bonmin::LpBranchingSolver::LpBranchingSolver ( BabSetupBase b)

Constructor from setup.

Bonmin::LpBranchingSolver::LpBranchingSolver ( const LpBranchingSolver )

Copy constructor.

virtual Bonmin::LpBranchingSolver::~LpBranchingSolver ( ) [virtual]

Destructor.

Bonmin::LpBranchingSolver::LpBranchingSolver ( ) [private]

Default Constructor.


Member Function Documentation

LpBranchingSolver& Bonmin::LpBranchingSolver::operator= ( const LpBranchingSolver rhs)

Assignment operator.

virtual void Bonmin::LpBranchingSolver::markHotStart ( OsiTMINLPInterface tminlp_interface) [virtual]

Called to initialize solver before a bunch of strong branching solves.

Implements Bonmin::StrongBranchingSolver.

virtual TNLPSolver::ReturnStatus Bonmin::LpBranchingSolver::solveFromHotStart ( OsiTMINLPInterface tminlp_interface) [virtual]

Called to solve the current TMINLP (with changed bound information)

Implements Bonmin::StrongBranchingSolver.

virtual void Bonmin::LpBranchingSolver::unmarkHotStart ( OsiTMINLPInterface tminlp_interface) [virtual]

Called after all strong branching solves in a node.

Implements Bonmin::StrongBranchingSolver.

void Bonmin::LpBranchingSolver::setMaxCuttingPlaneIter ( int  num) [inline]

Definition at line 41 of file BonLpBranchingSolver.hpp.

References maxCuttingPlaneIterations_.

static void Bonmin::LpBranchingSolver::registerOptions ( Ipopt::SmartPtr< Bonmin::RegisteredOptions roptions) [static]

Member Data Documentation

OsiSolverInterface* Bonmin::LpBranchingSolver::lin_ [private]

Linear solver.

Definition at line 53 of file BonLpBranchingSolver.hpp.

CoinWarmStart* Bonmin::LpBranchingSolver::warm_ [private]

Warm start object for linear solver.

Definition at line 56 of file BonLpBranchingSolver.hpp.

Ecp cut generate.

Definition at line 59 of file BonLpBranchingSolver.hpp.

Number of maximal ECP cuts.

Definition at line 62 of file BonLpBranchingSolver.hpp.

Referenced by setMaxCuttingPlaneIter().

absolute tolerance for ECP cuts

Definition at line 65 of file BonLpBranchingSolver.hpp.

relative tolerance for ECP cuts

Definition at line 68 of file BonLpBranchingSolver.hpp.

Way problems are warm started.

Definition at line 76 of file BonLpBranchingSolver.hpp.


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