C++ Reference

C++ Reference: Linear solver

model_validator.h File Reference

Go to the source code of this file.

Namespaces

 operations_research
 

Functions

std::string FindErrorInMPModelProto (const MPModelProto &model)
 Returns an empty std::string iff the model is valid and not trivially infeasible. 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...
 
bool MPRequestIsEmptyOrInvalid (const MPModelRequest &request, MPSolutionResponse *response)
 Updates response and returns true if errors, infeasibilities, or trivial optimals were found. More...
 
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. More...
 
void MergeMPConstraintProtoExceptTerms (const MPConstraintProto &from, MPConstraintProto *to)