CutPool::CutInfo Class Reference

Class for communication between CutPool and LinearRelax. More...

#include <cuts.h>

List of all members.

Public Member Functions

 CutInfo (list< Cut< SimpleCut > >::iterator &it, int bnr)
 CutInfo (list< Cut< LinearizationCut > >::iterator &it, int bnr)
 CutInfo (list< Cut< IntervalGradientCut > >::iterator &it_intgradcuts_, int bnr)
pair< bool, bool > set_inactivetime (Pointer< MinlpNode > node, int limit)

Public Attributes

list< Cut< SimpleCut > >::iterator it_simplecuts
 A pointer to the cut, if it's a simple cut.
list< Cut< IntervalGradientCut >
>::iterator 
it_intgradcuts
 A pointer to the cut, if it's a IntervalGradientCut.
list< Cut< LinearizationCut >
>::iterator 
it_linearizationcuts
 A pointer to the cut, if it's a LinearizationCut.
CutType type
 The kind of cut.
int block_nr
bool inactive
 Set by LinearRelax, if the cut was inactive.
bool removed
 Set by CutPool, if the cut was removed or the node was removed for the cut.
list< const MIPSolver::RowItem * > rowitems
 Set by LinearRelaxSolver, to remember the constraints in the MIPSolver, which were added for this cut.
list< const MIPSolver::ColItem * > colitems
 Set by LinearRelaxSolver, to remember the variables in the MIPSolver, which were added for this cut.

Friends

class CutPool

Detailed Description

Class for communication between CutPool and LinearRelax.

Adding a cut, returnes a CutInfo, so the linear relaxation can remember a cut, which is added to it. Solving the linear relaxation sets the inactive flag. This is checked by update_nodeinfo, which sets the removed flag. This flag can be checked by LinearRelax again.

Definition at line 265 of file cuts.h.


Constructor & Destructor Documentation

CutPool::CutInfo::CutInfo ( list< Cut< SimpleCut > >::iterator &  it,
int  bnr 
) [inline]

Definition at line 300 of file cuts.h.

CutPool::CutInfo::CutInfo ( list< Cut< LinearizationCut > >::iterator &  it,
int  bnr 
) [inline]

Definition at line 304 of file cuts.h.

CutPool::CutInfo::CutInfo ( list< Cut< IntervalGradientCut > >::iterator &  it_intgradcuts_,
int  bnr 
) [inline]

Definition at line 308 of file cuts.h.


Member Function Documentation

pair<bool, bool> CutPool::CutInfo::set_inactivetime ( Pointer< MinlpNode node,
int  limit 
)

Friends And Related Function Documentation

friend class CutPool [friend]

Definition at line 266 of file cuts.h.


Member Data Documentation

A pointer to the cut, if it's a simple cut.

Definition at line 270 of file cuts.h.

A pointer to the cut, if it's a IntervalGradientCut.

Definition at line 274 of file cuts.h.

A pointer to the cut, if it's a LinearizationCut.

Definition at line 278 of file cuts.h.

The kind of cut.

Definition at line 282 of file cuts.h.

Definition at line 284 of file cuts.h.

Set by LinearRelax, if the cut was inactive.

Definition at line 287 of file cuts.h.

Set by CutPool, if the cut was removed or the node was removed for the cut.

Definition at line 290 of file cuts.h.

Set by LinearRelaxSolver, to remember the constraints in the MIPSolver, which were added for this cut.

Definition at line 294 of file cuts.h.

Set by LinearRelaxSolver, to remember the variables in the MIPSolver, which were added for this cut.

Definition at line 298 of file cuts.h.


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

Generated on 10 Mar 2013 for LaGO by  doxygen 1.6.1