Go to the source code of this file.
|
| | ABSL_FLAG (double, model_validator_infinity, 1e100, "Anything above or equal to this magnitude will be considered infinity.") |
| |
| std::string | FindErrorInMPModelProto (const MPModelProto &model, double abs_value_threshold=0.0) |
| | Returns an empty string iff the model is valid and not trivially infeasible. More...
|
| |
| absl::optional< LazyMutableCopy< MPModelProto > > | ExtractValidMPModelOrPopulateResponseStatus (const MPModelRequest &request, MPSolutionResponse *response) |
| | If the model is valid and non-empty, returns it (possibly after extracting the model_delta). More...
|
| |
| bool | ExtractValidMPModelInPlaceOrPopulateResponseStatus (MPModelRequest *request, MPSolutionResponse *response) |
| | Like ExtractValidMPModelOrPopulateResponseStatus(), but works in-place: if the MPModel needed extraction, it will be populated in the request, and it returns the success boolean. More...
|
| |
| std::string | FindFeasibilityErrorInSolutionHint (const MPModelProto &model, double tolerance) |
| | Returns an empty string if the solution hint given in the model is a feasible solution. More...
|
| |
| std::string | FindErrorInMPModelDeltaProto (const MPModelDeltaProto &delta, const MPModelProto &model) |
| | Like FindErrorInMPModelProto, but for a MPModelDeltaProto applied to a given baseline model (assumed valid, eg. More...
|
| |
| void | MergeMPConstraintProtoExceptTerms (const MPConstraintProto &from, MPConstraintProto *to) |
| |
| void | ApplyVerifiedMPModelDelta (const MPModelDeltaProto &delta, MPModelProto *model) |
| |
◆ COPY_FIELD_IF_PRESENT
| #define COPY_FIELD_IF_PRESENT |
( |
|
field | ) |
if (from.has_##field()) to->set_##field(from.field()) |
◆ ABSL_FLAG()
| ABSL_FLAG |
( |
double |
, |
|
|
model_validator_infinity |
, |
|
|
1e100 |
, |
|
|
"Anything above or equal to this magnitude will be considered infinity." |
|
|
) |
| |