Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class LinMinPropagator
Note: This documentation is automatically generated.
Same as MinPropagator except this works on min = MIN(exprs) where exprs are
linear expressions. It uses IntegerSumLE to propagate bounds on the exprs.
Assumes Canonical expressions (all positive coefficients).
Method |
LinMinPropagator | Arguments: const std::vector<LinearExpression>& exprs,
IntegerVariable min_var, Model* model |
LinMinPropagator | Arguments: const LinMinPropagator&) = delete;
LinMinPropagator& operator=(const LinMinPropagator&) = delete;
bool Propagate( |
Propagate | Return type: bool |
RegisterWith | Return type: void Arguments: GenericLiteralWatcher* watcher |
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."],[],["`LinMinPropagator` handles min operations on linear expressions (min = MIN(exprs)). It employs `IntegerSumLE` for bound propagation, assuming canonical expressions with positive coefficients. Key actions include instantiation with linear expressions, a minimum variable, and a model. The `Propagate` method returns a boolean, and `RegisterWith` takes a `GenericLiteralWatcher`. Copy and assignment operators are deleted.\n"],null,[]]