All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
heur_twoopt.h File Reference Detailed DescriptionPrimal heuristic to improve incumbent solution by flipping pairs of variables. The Twoopt heuristic attempts to improve a feasible MIP solution by altering the solution values of pairs of variables. Only variables which share a pre-defined ratio of LP rows are considered as pairs. Each step of the heuristic consists of improving the objective value by shifting one variable, and then compensating the resulting infeasibilities by shifting a second variable, without completely losing the objective improvement. Similarly to Oneopt (see heur_oneopt.h), pairs are processed in non-decreasing order of their impact on the objective. Definition in file heur_twoopt.h. #include "scip/scip.h" Go to the source code of this file.
Function Documentation
creates the twoopt primal heuristic and includes it in SCIP
|