Setting the Partition attribute on at least one variable in a model enables the partitioning heuristic, which uses large-neighborhood search to try to improve the current incumbent solution.
This parameter determines where that heuristic runs. Options are:
- Before the root relaxation is solved (16)
- At the start of the root cut loop (8)
- At the end of the root cut loop (4)
- At the nodes of the branch-and-cut search (2)
- When the branch-and-cut search terminates (1)
The default value of 15 indicates that we enable every option except the first one listed above.
For examples of how to query or modify parameter values from our different APIs, refer to our Parameter Examples.