cons_orbisack.h
Go to the documentation of this file.
21 * The constraint works on two vectors of variables, which are interpreted as columns of a matrix such that the first
25 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
59 * This constraint handler can be used to handle symmetries in certain 0/1-programs. The principle
61 * permuting both columns does not change the validity and objective function value of a solution.
85 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
118 SCIP_Bool stickingatnode /**< should the constraint always be kept at the node where it was added, even
125 * All constraint flags set to their default values, which can be set afterwards using SCIPsetConsFLAGNAME() in scip.h.
129 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
SCIP_RETCODE SCIPcreateConsOrbisack(SCIP *scip, SCIP_CONS **cons, const char *name, SCIP_VAR *const *vars1, SCIP_VAR *const *vars2, int nrows, SCIP_Bool ispporbisack, SCIP_Bool isparttype, SCIP_Bool ismodelcons, SCIP_Bool initial, SCIP_Bool separate, SCIP_Bool enforce, SCIP_Bool check, SCIP_Bool propagate, SCIP_Bool local, SCIP_Bool modifiable, SCIP_Bool dynamic, SCIP_Bool removable, SCIP_Bool stickingatnode)
Definition: cons_orbisack.c:2194
Definition: struct_scip.h:59
SCIP_RETCODE SCIPincludeConshdlrOrbisack(SCIP *scip)
Definition: cons_orbisack.c:2126
Definition: struct_var.h:198
type definitions for return codes for SCIP methods
Definition: struct_sol.h:64
Definition: struct_cons.h:37
type definitions for SCIP's main datastructure
type definitions for problem variables
type definitions for storing primal CIP solutions
SCIP_RETCODE SCIPcreateConsBasicOrbisack(SCIP *scip, SCIP_CONS **cons, const char *name, SCIP_VAR **vars1, SCIP_VAR **vars2, int nrows, SCIP_Bool ispporbisack, SCIP_Bool isparttype, SCIP_Bool ismodelcons)
Definition: cons_orbisack.c:2301
common defines and data types used in all packages of SCIP
Definition: objbenders.h:33
SCIP_RETCODE SCIPcheckSolutionOrbisack(SCIP *scip, SCIP_SOL *sol, SCIP_VAR **vars1, SCIP_VAR **vars2, int nrows, SCIP_Bool printreason, SCIP_Bool *feasible)
Definition: cons_orbisack.c:2021
type definitions for constraints and constraint handlers