Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class IntegerRoundingCutHelper
Note: This documentation is automatically generated.
Method |
ComputeCut | Return type: void Arguments: RoundingOptions options, const std::vector<double>& lp_values,
const std::vector<IntegerValue>& lower_bounds,
const std::vector<IntegerValue>& upper_bounds,
ImpliedBoundsProcessor* ib_processor, LinearConstraint* cut |
NumLiftedBooleans | Return type: int Returns the number of implied bound lifted Booleans in the last
ComputeCut() call. Useful for investigation.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eIntegerRoundingCutHelper\u003c/code\u003e class in C++ assists in generating Gomory Mixed Integer cuts for mixed-integer programming problems.\u003c/p\u003e\n"],["\u003cp\u003eThe primary method, \u003ccode\u003eComputeCut\u003c/code\u003e, takes linear programming values, variable bounds, and an implied bounds processor to generate a cutting plane constraint.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNumLiftedBooleans\u003c/code\u003e method provides insight into the cut generation process by reporting the number of Boolean variables used for lifting during the last \u003ccode\u003eComputeCut\u003c/code\u003e call.\u003c/p\u003e\n"]]],["The `IntegerRoundingCutHelper` class in C++ provides functionality for generating cutting planes in optimization. The core method is `ComputeCut`, which takes rounding options, linear programming values, lower and upper bounds, an implied bounds processor, and a linear constraint as input to generate a cut. `NumLiftedBooleans` returns the number of lifted Booleans created during the last `ComputeCut` call for analysis.\n"],null,["# IntegerRoundingCutHelper\n\nC++ Reference: class IntegerRoundingCutHelper\n=============================================\n\n\nNote: This documentation is automatically generated.\n\n| Method ||\n|---------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [`ComputeCut`](https://github.com/google/or-tools/blob/v9.4/ortools/sat/cuts.h#L329) | Return type: `void ` Arguments: `RoundingOptions options, const std::vector\u003cdouble\u003e& lp_values, const std::vector\u003cIntegerValue\u003e& lower_bounds, const std::vector\u003cIntegerValue\u003e& upper_bounds, ImpliedBoundsProcessor* ib_processor, LinearConstraint* cut` \u003cbr /\u003e |\n| [`NumLiftedBooleans`](https://github.com/google/or-tools/blob/v9.4/ortools/sat/cuts.h#L336) | Return type: `int ` Returns the number of implied bound lifted Booleans in the last ComputeCut() call. Useful for investigation. |"]]