Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
bounds_and_status_validator.cc File Reference
#include "ortools/math_opt/validators/bounds_and_status_validator.h"
#include <cmath>
#include <ios>
#include <limits>
#include "absl/status/status.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/string_view.h"
#include "ortools/base/status_builder.h"
#include "ortools/base/status_macros.h"
#include "ortools/math_opt/result.pb.h"
#include "ortools/math_opt/validators/scalar_validator.h"
#include "ortools/port/proto_utils.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::math_opt
 An object oriented wrapper for quadratic constraints in ModelStorage.
 

Functions

absl::Status operations_research::math_opt::ValidateFeasibilityStatus (const FeasibilityStatusProto &status)
 
absl::Status operations_research::math_opt::ValidateProblemStatus (const ProblemStatusProto &status)
 
absl::Status operations_research::math_opt::CheckPrimalStatusIs (const ProblemStatusProto &status, const FeasibilityStatusProto required_status)
 Assumes ValidateProblemStatus(status) is ok.
 
absl::Status operations_research::math_opt::CheckPrimalStatusIsNot (const ProblemStatusProto &status, const FeasibilityStatusProto forbidden_status)
 Assumes ValidateProblemStatus(status) is ok.
 
absl::Status operations_research::math_opt::CheckDualStatusIsNot (const ProblemStatusProto &status, const FeasibilityStatusProto forbidden_status)
 Assumes ValidateProblemStatus(status) is ok.
 
absl::Status operations_research::math_opt::CheckDualStatusIs (const ProblemStatusProto &status, const FeasibilityStatusProto required_status, const bool primal_or_dual_infeasible_also_ok)
 Assumes ValidateProblemStatus(status) is ok.
 
absl::Status operations_research::math_opt::ValidateObjectiveBounds (const ObjectiveBoundsProto &bounds)
 
absl::Status operations_research::math_opt::CheckFinitePrimalBound (const ObjectiveBoundsProto &bounds)
 
absl::Status operations_research::math_opt::ValidateBoundStatusConsistency (const ObjectiveBoundsProto &objective_bounds, const ProblemStatusProto &status, bool is_maximize)