14#ifndef OR_TOOLS_BOP_BOP_TYPES_H_
15#define OR_TOOLS_BOP_BOP_TYPES_H_
55 return "OPTIMAL_SOLUTION_FOUND";
57 return "FEASIBLE_SOLUTION_FOUND";
59 return "NO_SOLUTION_FOUND";
61 return "INFEASIBLE_PROBLEM";
63 return "INVALID_PROBLEM";
67 return "UNKNOWN Status";
util_intops::StrongVector< SparseIndex, BopConstraintTerm > BopConstraintTerms
std::ostream & operator<<(std::ostream &os, BopOptimizerBase::Status status)
BopSolveStatus
Status of the solve of Bop.
@ NO_SOLUTION_FOUND
The solver didn't find any solution.
@ OPTIMAL_SOLUTION_FOUND
The solver found the proven optimal solution.
@ INFEASIBLE_PROBLEM
The problem is infeasible.
@ INVALID_PROBLEM
The problem is invalid.
@ FEASIBLE_SOLUTION_FOUND
std::string GetSolveStatusString(BopSolveStatus status)
In SWIG mode, we don't want anything besides these top-level includes.
#define DEFINE_STRONG_INT64_TYPE(integer_type_name)
#define DEFINE_STRONG_INDEX_TYPE(index_type_name)
BopConstraintTerm(VariableIndex _var_id, int64_t _weight)
bool operator<(const BopConstraintTerm &other) const