Reference

C++

Python

DotNET

Java Documentation

C++ Reference: Linear solver

model_validator.h File Reference
#include <string>
#include "ortools/linear_solver/linear_solver.pb.h"
Include dependency graph for model_validator.h:

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)