C++ Reference
C++ Reference: Linear solver
model_validator.h
Go to the documentation of this file.
bool MPRequestIsEmptyOrInvalid(const MPModelRequest &request, MPSolutionResponse *response)
Updates response and returns true if errors, infeasibilities, or trivial optimals were found.
void MergeMPConstraintProtoExceptTerms(const MPConstraintProto &from, MPConstraintProto *to)
std::string FindErrorInMPModelDeltaProto(const MPModelDeltaProto &delta, const MPModelProto &model)
Like FindErrorInMPModelProto, but for a MPModelDeltaProto applied to a given baseline model (assumed ...
std::string FindFeasibilityErrorInSolutionHint(const MPModelProto &model, double tolerance)
Returns an empty std::string if the solution hint given in the model is a feasible solution.
Definition: linear_expr.h:84
std::string FindErrorInMPModelProto(const MPModelProto &model)
Returns an empty std::string iff the model is valid and not trivially infeasible.