ABA_INFEASCON Class Reference

If a constraint is transformed from its pool to the row format it may turn out that the constraint is infeasible since variables are fixed or set such that all nonzero coefficients of the left hand side are eliminated and the right hand side has to be updated. More...

#include <infeascon.h>

Inheritance diagram for ABA_INFEASCON:

ABA_ABACUSROOT List of all members.

Public Types

enum  INFEAS { TooSmall = -1, Feasible, TooLarge }

Public Member Functions

 ABA_INFEASCON (ABA_MASTER *master, ABA_CONSTRAINT *con, INFEAS inf)
ABA_CONSTRAINTconstraint () const
INFEAS infeas () const
bool goodVar (ABA_VARIABLE *v)

Private Attributes

ABA_MASTERmaster_
ABA_CONSTRAINTconstraint_
INFEAS infeas_

Detailed Description

If a constraint is transformed from its pool to the row format it may turn out that the constraint is infeasible since variables are fixed or set such that all nonzero coefficients of the left hand side are eliminated and the right hand side has to be updated.

Definition at line 48 of file infeascon.h.


Member Enumeration Documentation

enum ABA_INFEASCON::INFEAS

The different ways of infeasibility of a constraint.

Parameters:
TooSmall The left hand side is too small for the right hand side.
Feasible The constraint is not infeasible.
TooLarge The left hand side is too large for the right hand side.
Enumerator:
TooSmall 
Feasible 
TooLarge 

Definition at line 57 of file infeascon.h.


Constructor & Destructor Documentation

ABA_INFEASCON::ABA_INFEASCON ( ABA_MASTER master,
ABA_CONSTRAINT con,
INFEAS  inf 
)

The constructor.

Parameters:
master A pointer to the corresponding master of the optimization.
con The infeasible constraint.
inf The way of infeasibility.


Member Function Documentation

ABA_CONSTRAINT * ABA_INFEASCON::constraint (  )  const [inline]

Returns:
A pointer to the infeasible constraint.

Definition at line 99 of file infeascon.h.

ABA_INFEASCON::INFEAS ABA_INFEASCON::infeas (  )  const [inline]

Returns:
The way of infeasibility of the constraint.

Definition at line 104 of file infeascon.h.

bool ABA_INFEASCON::goodVar ( ABA_VARIABLE v  ) 

Returns:
true If the variable v might reduce the infeasibility,

false otherwise.

Parameters:
v A variable for which we test if its addition might reduce infeasibility.


Member Data Documentation

ABA_MASTER* ABA_INFEASCON::master_ [private]

A pointer to the corresponding master of the optimization.

Definition at line 87 of file infeascon.h.

ABA_CONSTRAINT* ABA_INFEASCON::constraint_ [private]

A pointer to the infeasible constraint.

Definition at line 91 of file infeascon.h.

INFEAS ABA_INFEASCON::infeas_ [private]

The way of infeasibility.

Definition at line 95 of file infeascon.h.


The documentation for this class was generated from the following file:
Generated on Tue Aug 14 18:09:57 2007 for ABACUS by  doxygen 1.5.1