Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
solution_improvement.h File Reference
#include <algorithm>
#include <cmath>
#include <vector>
#include "absl/status/statusor.h"
#include "absl/types/span.h"
#include "ortools/math_opt/cpp/math_opt.h"

Go to the source code of this file.

Classes

struct  operations_research::math_opt::MoveVariablesToTheirBestFeasibleValueOptions
 Options for MoveVariablesToTheirBestFeasibleValue. More...
 

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< VariableMap< double > > operations_research::math_opt::MoveVariablesToTheirBestFeasibleValue (const Model &model, const VariableMap< double > &input_solution, absl::Span< const Variable > variables, const MoveVariablesToTheirBestFeasibleValueOptions &options)
 
double operations_research::math_opt::RoundedLowerBound (const Variable v, const double tolerance)
 
double operations_research::math_opt::RoundedUpperBound (const Variable v, const double tolerance)
 Same as RoundedLowerBound() but for upper-bound.
 

Variables

constexpr double operations_research::math_opt::kMaxIntegralityTolerance = 0.25