OR-Tools  9.3
solve_result.h File Reference

Go to the source code of this file.

Classes

struct  ProblemStatus
 
struct  SolveStats
 
struct  Termination
 
struct  SolveResult
 

Namespaces

namespace  operations_research
 Collection of objects used to extend the Constraint Solver library.
 
namespace  operations_research::math_opt
 

Enumerations

enum class  FeasibilityStatus { kUndetermined = FEASIBILITY_STATUS_UNDETERMINED , kFeasible = FEASIBILITY_STATUS_FEASIBLE , kInfeasible = FEASIBILITY_STATUS_INFEASIBLE }
 
enum class  TerminationReason {
  kOptimal = TERMINATION_REASON_OPTIMAL , kInfeasible = TERMINATION_REASON_INFEASIBLE , kUnbounded = TERMINATION_REASON_UNBOUNDED , kInfeasibleOrUnbounded = TERMINATION_REASON_INFEASIBLE_OR_UNBOUNDED ,
  kImprecise = TERMINATION_REASON_IMPRECISE , kFeasible = TERMINATION_REASON_FEASIBLE , kNoSolutionFound = TERMINATION_REASON_NO_SOLUTION_FOUND , kNumericalError = TERMINATION_REASON_NUMERICAL_ERROR ,
  kOtherError = TERMINATION_REASON_OTHER_ERROR
}
 
enum class  Limit {
  kUndetermined = LIMIT_UNDETERMINED , kIteration = LIMIT_ITERATION , kTime = LIMIT_TIME , kNode = LIMIT_NODE ,
  kSolution = LIMIT_SOLUTION , kMemory = LIMIT_MEMORY , kCutoff = LIMIT_CUTOFF , kObjective = LIMIT_OBJECTIVE ,
  kNorm = LIMIT_NORM , kInterrupted = LIMIT_INTERRUPTED , kSlowProgress = LIMIT_SLOW_PROGRESS , kOther = LIMIT_OTHER
}
 

Functions

 MATH_OPT_DEFINE_ENUM (FeasibilityStatus, FEASIBILITY_STATUS_UNSPECIFIED)
 
std::ostream & operator<< (std::ostream &ostr, const ProblemStatus &problem_status)
 
std::ostream & operator<< (std::ostream &ostr, const SolveStats &solve_stats)
 
 MATH_OPT_DEFINE_ENUM (TerminationReason, TERMINATION_REASON_UNSPECIFIED)
 
 MATH_OPT_DEFINE_ENUM (Limit, LIMIT_UNSPECIFIED)
 
std::ostream & operator<< (std::ostream &ostr, const Termination &termination)