# SCIP

Solving Constraint Integer Programs

SCIP_Cons Struct Reference

## Detailed Description

constraint data structure

Definition at line 37 of file struct_cons.h.

#include <struct_cons.h>

## Data Fields

SCIP_Real age

char * name

SCIP_CONSHDLRconshdlr

SCIP_CONSDATAconsdata

SCIP_CONStransorigcons

int consspos

int initconsspos

int sepaconsspos

int enfoconsspos

int checkconsspos

int propconsspos

int nlockspos [NLOCKTYPES]

int nlocksneg [NLOCKTYPES]

int activedepth

int validdepth

int nuses

unsigned int initial:1

unsigned int separate:1

unsigned int enforce:1

unsigned int check:1

unsigned int propagate:1

unsigned int sepaenabled:1

unsigned int propenabled:1

unsigned int local:1

unsigned int modifiable:1

unsigned int dynamic:1

unsigned int removable:1

unsigned int stickingatnode:1

unsigned int original:1

unsigned int deleteconsdata:1

unsigned int active:1

unsigned int conflict:1

unsigned int enabled:1

unsigned int obsolete:1

unsigned int markpropagate:1

unsigned int deleted:1

unsigned int update:1

unsigned int updateinsert:1

unsigned int updateactivate:1

unsigned int updatedeactivate:1

unsigned int updateenable:1

unsigned int updatedisable:1

unsigned int updatepropenable:1

unsigned int updatepropdisable:1

unsigned int updateobsolete:1

unsigned int updatefree:1

unsigned int updateactfocus:1

unsigned int updatemarkpropagate:1

unsigned int updateunmarkpropagate:1

SCIPscip

## ◆ age

 SCIP_Real SCIP_Cons::age

age of constraint: number of successive times, the constraint was irrelevant

Definition at line 39 of file struct_cons.h.

## ◆ consdata

 SCIP_CONSDATA* SCIP_Cons::consdata

data for this specific constraint

Definition at line 42 of file struct_cons.h.

## ◆ transorigcons

 SCIP_CONS* SCIP_Cons::transorigcons

for original constraints: associated transformed constraint or NULL, for transformed constraints: associated original constraint or NULL

Definition at line 43 of file struct_cons.h.

Referenced by SCIPconsGetTransformed(), and SCIPconsTransform().

constraint change that added constraint to current subproblem, or NULL if constraint is from global problem

Definition at line 45 of file struct_cons.h.

position of constraint in the conssetchg's/prob's addedconss/conss array

Definition at line 47 of file struct_cons.h.

## ◆ consspos

 int SCIP_Cons::consspos

position of constraint in the handler's conss array

Definition at line 48 of file struct_cons.h.

## ◆ initconsspos

 int SCIP_Cons::initconsspos

position of constraint in the handler's initconss array

Definition at line 49 of file struct_cons.h.

## ◆ sepaconsspos

 int SCIP_Cons::sepaconsspos

position of constraint in the handler's sepaconss array

Definition at line 50 of file struct_cons.h.

## ◆ enfoconsspos

 int SCIP_Cons::enfoconsspos

position of constraint in the handler's enfoconss array

Definition at line 51 of file struct_cons.h.

## ◆ checkconsspos

 int SCIP_Cons::checkconsspos

position of constraint in the handler's checkconss array

Definition at line 52 of file struct_cons.h.

## ◆ propconsspos

 int SCIP_Cons::propconsspos

position of constraint in the handler's propconss array

Definition at line 53 of file struct_cons.h.

## ◆ nlockspos

 int SCIP_Cons::nlockspos[NLOCKTYPES]

array of times, the constraint locked rounding of its variables

Definition at line 54 of file struct_cons.h.

## ◆ nlocksneg

 int SCIP_Cons::nlocksneg[NLOCKTYPES]

array of times, the constraint locked vars for the constraint's negation

Definition at line 55 of file struct_cons.h.

## ◆ activedepth

 int SCIP_Cons::activedepth

depth level of constraint activation (-2: inactive, -1: problem constraint)

Definition at line 56 of file struct_cons.h.

## ◆ validdepth

 int SCIP_Cons::validdepth

depth level where constraint is valid (-1: equals activedepth)

Definition at line 57 of file struct_cons.h.

## ◆ nuses

 int SCIP_Cons::nuses

number of times, this constraint is referenced

Definition at line 58 of file struct_cons.h.

Referenced by conshdlrProcessUpdates(), SCIPconsCapture(), and SCIPconsGetNUses().

## ◆ initial

 unsigned int SCIP_Cons::initial

TRUE iff LP relaxation of constraint should be in initial LP, if possible

Definition at line 59 of file struct_cons.h.

## ◆ separate

 unsigned int SCIP_Cons::separate

TRUE iff constraint should be separated during LP processing

Definition at line 60 of file struct_cons.h.

## ◆ enforce

 unsigned int SCIP_Cons::enforce

TRUE iff constraint should be enforced during node processing

Definition at line 61 of file struct_cons.h.

## ◆ check

 unsigned int SCIP_Cons::check

TRUE iff constraint should be checked for feasibility

Definition at line 62 of file struct_cons.h.

## ◆ propagate

 unsigned int SCIP_Cons::propagate

TRUE iff constraint should be propagated during node processing

Definition at line 63 of file struct_cons.h.

## ◆ sepaenabled

 unsigned int SCIP_Cons::sepaenabled

TRUE iff constraint should be separated in the next separation call

Definition at line 64 of file struct_cons.h.

## ◆ propenabled

 unsigned int SCIP_Cons::propenabled

TRUE iff constraint should be propagated in the next propagation call

Definition at line 65 of file struct_cons.h.

## ◆ local

 unsigned int SCIP_Cons::local

TRUE iff constraint is only valid locally

Definition at line 66 of file struct_cons.h.

## ◆ modifiable

 unsigned int SCIP_Cons::modifiable

TRUE iff constraint is modifiable (subject to column generation)

Definition at line 67 of file struct_cons.h.

Referenced by SCIPconsIsModifiable(), SCIPconsSetModifiable(), and SCIPconsTransform().

## ◆ dynamic

 unsigned int SCIP_Cons::dynamic

TRUE iff constraint is subject to aging

Definition at line 68 of file struct_cons.h.

## ◆ removable

 unsigned int SCIP_Cons::removable

TRUE iff relaxation should be removed from the LP due to aging or cleanup

Definition at line 69 of file struct_cons.h.

Referenced by SCIPconsIsRemovable(), SCIPconsSetRemovable(), and SCIPconsTransform().

## ◆ stickingatnode

 unsigned int SCIP_Cons::stickingatnode

TRUE iff the node should always be kept at the node where it was added

Definition at line 70 of file struct_cons.h.

## ◆ original

 unsigned int SCIP_Cons::original

## ◆ deleteconsdata

 unsigned int SCIP_Cons::deleteconsdata

TRUE iff constraint data has to be deleted if constraint is freed

Definition at line 72 of file struct_cons.h.

## ◆ active

 unsigned int SCIP_Cons::active

TRUE iff constraint is active in the current node; a constraint is active if it is global and was not removed during presolving or it was added locally (in that case the local flag is TRUE) and the current node belongs to the corresponding sub tree

Definition at line 73 of file struct_cons.h.

## ◆ conflict

 unsigned int SCIP_Cons::conflict

TRUE iff constraint is a conflict

Definition at line 78 of file struct_cons.h.

Referenced by SCIPconsIsConflict(), and SCIPconsMarkConflict().

## ◆ enabled

 unsigned int SCIP_Cons::enabled

TRUE iff constraint is enforced, separated, and propagated in current node

Definition at line 79 of file struct_cons.h.

## ◆ obsolete

 unsigned int SCIP_Cons::obsolete

TRUE iff constraint is too seldomly used and therefore obsolete

Definition at line 80 of file struct_cons.h.

## ◆ markpropagate

 unsigned int SCIP_Cons::markpropagate

TRUE iff constraint is marked to be propagated in the next round

Definition at line 81 of file struct_cons.h.

## ◆ deleted

 unsigned int SCIP_Cons::deleted

TRUE iff constraint was globally deleted

Definition at line 82 of file struct_cons.h.

## ◆ update

 unsigned int SCIP_Cons::update

TRUE iff constraint has to be updated in update phase

Definition at line 83 of file struct_cons.h.

## ◆ updateinsert

 unsigned int SCIP_Cons::updateinsert

TRUE iff constraint has to be inserted in the conss array

Definition at line 84 of file struct_cons.h.

## ◆ updateactivate

 unsigned int SCIP_Cons::updateactivate

TRUE iff constraint has to be activated in update phase

Definition at line 85 of file struct_cons.h.

## ◆ updatedeactivate

 unsigned int SCIP_Cons::updatedeactivate

TRUE iff constraint has to be deactivated in update phase

Definition at line 86 of file struct_cons.h.

## ◆ updateenable

 unsigned int SCIP_Cons::updateenable

TRUE iff constraint has to be enabled in update phase

Definition at line 87 of file struct_cons.h.

## ◆ updatedisable

 unsigned int SCIP_Cons::updatedisable

TRUE iff constraint has to be disabled in update phase

Definition at line 88 of file struct_cons.h.

TRUE iff constraint's separation has to be enabled in update phase

Definition at line 89 of file struct_cons.h.

TRUE iff constraint's separation has to be disabled in update phase

Definition at line 90 of file struct_cons.h.

## ◆ updatepropenable

 unsigned int SCIP_Cons::updatepropenable

TRUE iff constraint's propagation has to be enabled in update phase

Definition at line 91 of file struct_cons.h.

## ◆ updatepropdisable

 unsigned int SCIP_Cons::updatepropdisable

TRUE iff constraint's propagation has to be disabled in update phase

Definition at line 92 of file struct_cons.h.

## ◆ updateobsolete

 unsigned int SCIP_Cons::updateobsolete

TRUE iff obsolete status of constraint has to be updated in update phase

Definition at line 93 of file struct_cons.h.

## ◆ updatefree

 unsigned int SCIP_Cons::updatefree

TRUE iff constraint has to be freed in update phase

Definition at line 94 of file struct_cons.h.

## ◆ updateactfocus

 unsigned int SCIP_Cons::updateactfocus

TRUE iff delayed constraint activation happened at focus node

Definition at line 95 of file struct_cons.h.

## ◆ updatemarkpropagate

 unsigned int SCIP_Cons::updatemarkpropagate

TRUE iff constraint has to be marked to be propagated in update phase

Definition at line 96 of file struct_cons.h.

## ◆ updateunmarkpropagate

 unsigned int SCIP_Cons::updateunmarkpropagate

TRUE iff constraint has to be unmarked to be propagated in update phase

Definition at line 97 of file struct_cons.h.