C++ Reference: class SharedBoundsManager
Note: This documentation is automatically generated.
This class manages a pool of lower and upper bounds on a set of variables in a parallel context.Method | |
---|---|
FixVariablesFromPartialSolution | Return type: Arguments: If we solved a small independent component of the full problem, then we can in most situation fix the solution on this subspace. Note that because there can be more than one optimal solution on an independent subproblem, it is important to do that in a locked fashion, and reject future incompatible fixing. |
GetChangedBounds | Return type: Arguments: When called, returns the set of bounds improvements since the last time this method was called with the same id. |
LogStatistics | Return type: Arguments: |
NumBoundsExported | Return type: Arguments: |
RegisterNewId | Return type: Returns a new id to be used in GetChangedBounds(). This is just an ever increasing sequence starting from zero. Note that the class is not designed to have too many of these. |
ReportPotentialNewBounds | Return type: Arguments: Reports a set of locally improved variable bounds to the shared bounds manager. The manager will compare these bounds changes against its global state, and incorporate the improving ones. |
SharedBoundsManager | Return type: Arguments: |
Synchronize | Return type: Publishes any new bounds so that GetChangedBounds() will reflect the latest state. |