Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: model_validator
Note: This documentation is automatically generated.
Function |
Type |
Arguments |
Comments |
ApplyVerifiedMPModelDelta | Return type: void Arguments: const MPModelDeltaProto& delta, MPModelProto* model |
FindErrorInMPModelDeltaProto | Return type: std::string Arguments: const MPModelDeltaProto& delta, const MPModelProto& model |
FindErrorInMPModelProto | Return type: std::string Arguments: const MPModelProto& model, double abs_value_threshold = 0.0, // If false, variable and constraint bounds like [lb=1.2, ub=0.7] yield an // error, and also integer variable bounds like [0.7, 0.8]. bool accept_trivially_infeasible_bounds = false |
FindFeasibilityErrorInSolutionHint | Return type: std::string Arguments: const MPModelProto& model, double tolerance |
MergeMPConstraintProtoExceptTerms | Return type: void Arguments: const MPConstraintProto& from, MPConstraintProto* to |
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."],[],["The `model_validator` documentation outlines functions for validating and manipulating linear programming models. Key actions include: applying `MPModelDeltaProto` changes to an `MPModelProto` using `ApplyVerifiedMPModelDelta`, extracting a valid model from a request or in place with `ExtractValidMPModelOrPopulateResponseStatus` and `ExtractValidMPModelInPlaceOrPopulateResponseStatus`, respectively. Error detection is done by `FindErrorInMPModelDeltaProto`, `FindErrorInMPModelProto`, and `FindFeasibilityErrorInSolutionHint`. Finally, merging constraints is possible via `MergeMPConstraintProtoExceptTerms`.\n"],null,[]]