14#ifndef OR_TOOLS_BOP_BOP_SOLVER_H_
15#define OR_TOOLS_BOP_BOP_SOLVER_H_
40#include "ortools/bop/bop_parameters.pb.h"
43#include "ortools/sat/boolean_problem.pb.h"
52 explicit BopSolver(
const sat::LinearBooleanProblem& problem);
81 void UpdateParameters();
85 const sat::LinearBooleanProblem& problem_;
87 BopParameters parameters_;
Base class to print a nice summary of a group of statistics.
bool Value(VariableIndex var) const
Solver of Boolean Optimization Problems based on Local Search.
bool GetSolutionValue(VariableIndex var_id) const
BopSolveStatus Solve()
Returns the status of the optimization.
void SetParameters(const BopParameters ¶meters)
Parameters management.
double GetScaledBestBound() const
BopSolveStatus SolveWithTimeLimit(TimeLimit *time_limit)
Runs the solver with an external time limit.
const BopSolution & best_solution() const
double GetScaledGap() const
BopSolver(const sat::LinearBooleanProblem &problem)
const BopSolution & solution() const
BopSolveStatus
Status of the solve of Bop.
In SWIG mode, we don't want anything besides these top-level includes.