Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
solution_feasibility_checker.cc File Reference
#include "ortools/math_opt/labs/solution_feasibility_checker.h"
#include <cmath>
#include <string>
#include <vector>
#include "absl/algorithm/container.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/str_join.h"
#include "ortools/base/mathutil.h"
#include "ortools/base/status_builder.h"
#include "ortools/base/status_macros.h"
#include "ortools/math_opt/cpp/math_opt.h"
#include "ortools/util/fp_roundtrip_conv.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::StatusOr< ModelSubsetoperations_research::math_opt::CheckPrimalSolutionFeasibility (const Model &model, const VariableMap< double > &variable_values, const FeasibilityCheckerOptions &options)
 
absl::StatusOr< std::vector< std::string > > operations_research::math_opt::ViolatedConstraintsAsStrings (const Model &model, const ModelSubset &violated_constraints, const VariableMap< double > &variable_values)