PySCIPOpt
Python Interface to the SCIP Optimization Suite
Constraint Class Reference

Public Member Functions

def isOriginal (self)
 
def isInitial (self)
 
def isSeparated (self)
 
def isEnforced (self)
 
def isChecked (self)
 
def isPropagated (self)
 
def isLocal (self)
 
def isModifiable (self)
 
def isDynamic (self)
 
def isRemovable (self)
 
def isStickingAtNode (self)
 
def isLinear (self)
 
def isQuadratic (self)
 

Static Public Attributes

 cons = Constraint()
 

Detailed Description

Definition at line 533 of file scip.pyx.

Member Function Documentation

def isChecked (   self)
Retrieve True if constraint should be checked for feasibility

Definition at line 569 of file scip.pyx.

References ConsAndData.cons, LinVarEventData.cons, VarEventData.cons, SCIP_Matrix.cons, HashData.cons, Constraint.cons, and SCIPconsIsChecked().

def isDynamic (   self)
Retrieve True if constraint is subject to aging

Definition at line 585 of file scip.pyx.

References ConsAndData.cons, LinVarEventData.cons, VarEventData.cons, SCIP_Matrix.cons, HashData.cons, Constraint.cons, and SCIPconsIsDynamic().

def isEnforced (   self)
Retrieve True if constraint should be enforced during node processing

Definition at line 565 of file scip.pyx.

References ConsAndData.cons, LinVarEventData.cons, VarEventData.cons, SCIP_Matrix.cons, HashData.cons, Constraint.cons, and SCIPconsIsEnforced().

def isInitial (   self)
Retrieve True if the relaxation of the constraint should be in the initial LP

Definition at line 557 of file scip.pyx.

References ConsAndData.cons, LinVarEventData.cons, VarEventData.cons, SCIP_Matrix.cons, HashData.cons, Constraint.cons, and SCIPconsIsInitial().

def isLinear (   self)
Retrieve True if constraint is linear

Definition at line 597 of file scip.pyx.

References ConsAndData.cons, HashData.cons, VarEventData.cons, LinVarEventData.cons, SCIP_Matrix.cons, Constraint.cons, SCIPconsGetHdlr(), and SCIPconshdlrGetName().

def isLocal (   self)
Retrieve True if constraint is only locally valid or not added to any (sub)problem

Definition at line 577 of file scip.pyx.

References ConsAndData.cons, LinVarEventData.cons, VarEventData.cons, SCIP_Matrix.cons, HashData.cons, Constraint.cons, and SCIPconsIsLocal().

def isModifiable (   self)
Retrieve True if constraint is modifiable (subject to column generation)

Definition at line 581 of file scip.pyx.

References ConsAndData.cons, LinVarEventData.cons, VarEventData.cons, SCIP_Matrix.cons, HashData.cons, Constraint.cons, and SCIPconsIsModifiable().

def isOriginal (   self)
Retrieve whether the constraint belongs to the original problem

Definition at line 553 of file scip.pyx.

References ConsAndData.cons, LinVarEventData.cons, VarEventData.cons, SCIP_Matrix.cons, HashData.cons, Constraint.cons, and SCIPconsIsOriginal().

def isPropagated (   self)
Retrieve True if constraint should be propagated during node processing

Definition at line 573 of file scip.pyx.

References ConsAndData.cons, LinVarEventData.cons, VarEventData.cons, SCIP_Matrix.cons, HashData.cons, Constraint.cons, and SCIPconsIsPropagated().

def isQuadratic (   self)
Retrieve True if constraint is quadratic

Definition at line 602 of file scip.pyx.

References ConsAndData.cons, HashData.cons, VarEventData.cons, LinVarEventData.cons, SCIP_Matrix.cons, Constraint.cons, SCIPconsGetHdlr(), and SCIPconshdlrGetName().

def isRemovable (   self)
Retrieve True if constraint's relaxation should be removed from the LP due to aging or cleanup

Definition at line 589 of file scip.pyx.

References ConsAndData.cons, LinVarEventData.cons, VarEventData.cons, SCIP_Matrix.cons, HashData.cons, Constraint.cons, and SCIPconsIsRemovable().

def isSeparated (   self)
Retrieve True if constraint should be separated during LP processing

Definition at line 561 of file scip.pyx.

References ConsAndData.cons, LinVarEventData.cons, VarEventData.cons, SCIP_Matrix.cons, HashData.cons, Constraint.cons, and SCIPconsIsSeparated().

def isStickingAtNode (   self)
Retrieve True if constraint is only locally valid or not added to any (sub)problem

Definition at line 593 of file scip.pyx.

References ConsAndData.cons, LinVarEventData.cons, VarEventData.cons, SCIP_Matrix.cons, HashData.cons, Constraint.cons, and SCIPconsIsStickingAtNode().


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