CouenneComplObject Class Reference

OsiObject for complementarity constraints $x_1 x_2 = 0$. More...

#include <CouenneComplObject.hpp>

Inheritance diagram for CouenneComplObject:

Inheritance graph
[legend]
Collaboration diagram for CouenneComplObject:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CouenneComplObject (CouenneProblem *p, exprVar *ref, Bonmin::BabSetupBase *base, JnlstPtr jnlst)
 Constructor with information for branching point selection strategy.
 CouenneComplObject (exprVar *ref, Bonmin::BabSetupBase *base, JnlstPtr jnlst)
 Constructor with lesser information, used for infeasibility only.
 ~CouenneComplObject ()
 Destructor.
 CouenneComplObject (const CouenneObject &src)
 Copy constructor.
virtual OsiObject * clone () const
 Cloning method.
virtual double infeasibility (const OsiBranchingInformation *info, int &way) const
 compute infeasibility of this variable, |w - f(x)| (where w is the auxiliary variable defined as w = f(x)
virtual double checkInfeasibility (const OsiBranchingInformation *info) const
 compute infeasibility of this variable, |w - f(x)|, where w is the auxiliary variable defined as w = f(x)
virtual OsiBranchingObject * createBranch (OsiSolverInterface *, const OsiBranchingInformation *, int) const
 create CouenneBranchingObject or CouenneThreeWayBranchObj based on this object

Detailed Description

OsiObject for complementarity constraints $x_1 x_2 = 0$.

Associated with two variables x_1 and x_2, branches with either x_1=0 or x_2=0

Definition at line 20 of file CouenneComplObject.hpp.


Constructor & Destructor Documentation

CouenneComplObject::CouenneComplObject ( CouenneProblem p,
exprVar ref,
Bonmin::BabSetupBase base,
JnlstPtr  jnlst 
)

Constructor with information for branching point selection strategy.

Definition at line 16 of file CouenneComplObject.cpp.

References J_PROBLEM().

Referenced by clone().

CouenneComplObject::CouenneComplObject ( exprVar ref,
Bonmin::BabSetupBase base,
JnlstPtr  jnlst 
)

Constructor with lesser information, used for infeasibility only.

Definition at line 24 of file CouenneComplObject.cpp.

CouenneComplObject::~CouenneComplObject (  )  [inline]

Destructor.

Definition at line 32 of file CouenneComplObject.hpp.

CouenneComplObject::CouenneComplObject ( const CouenneObject src  ) 

Copy constructor.

Definition at line 29 of file CouenneComplObject.cpp.


Member Function Documentation

virtual OsiObject* CouenneComplObject::clone (  )  const [inline, virtual]

Cloning method.

Reimplemented from CouenneObject.

Definition at line 38 of file CouenneComplObject.hpp.

References CouenneComplObject().

double CouenneComplObject::infeasibility ( const OsiBranchingInformation *  info,
int &  way 
) const [virtual]

compute infeasibility of this variable, |w - f(x)| (where w is the auxiliary variable defined as w = f(x)

Reimplemented from CouenneObject.

Definition at line 35 of file CouenneComplObject.cpp.

References CouenneObject::reference_.

double CouenneComplObject::checkInfeasibility ( const OsiBranchingInformation *  info  )  const [virtual]

compute infeasibility of this variable, |w - f(x)|, where w is the auxiliary variable defined as w = f(x)

Reimplemented from CouenneObject.

Definition at line 56 of file CouenneComplObject.cpp.

References CouenneObject::reference_.

OsiBranchingObject * CouenneComplObject::createBranch ( OsiSolverInterface *  ,
const OsiBranchingInformation *  ,
int   
) const [virtual]

create CouenneBranchingObject or CouenneThreeWayBranchObj based on this object

Reimplemented from CouenneObject.

Definition at line 71 of file CouenneComplObject.cpp.

References CouenneObject::doConvCuts_, CouenneObject::doFBBT_, CouenneObject::jnlst_, and CouenneObject::reference_.


The documentation for this class was generated from the following files:
Generated on Thu Oct 8 03:07:51 2009 by  doxygen 1.4.7