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` in C++ provides functions to validate and extract data from Mathematical Programming (MP) model representations."],["It includes functionalities to identify errors within `MPModelProto` and `MPModelDeltaProto` objects, including constraint and variable bound inconsistencies."],["The validator can apply verified model deltas to existing models, and it can extract valid models while populating response statuses."],["Functions are available to check for feasibility errors within solution hints based on provided tolerance values."],["The library facilitates model manipulation by allowing merging of constraints, excluding their specific terms."]]],[]]