21#include "ortools/linear_solver/linear_solver.pb.h"
31 MPSolutionResponse response;
32 if (interrupter !=
nullptr) {
33 std::atomic<bool> atomic_bool =
false;
35 interrupter, [&atomic_bool] { atomic_bool.store(
true); });
45 return MPSolver::SolverTypeSupportsInterruption(solver);
static void SolveLazyMutableRequest(LazyMutableCopy< MPModelRequest > request, MPSolutionResponse *response, std::atomic< bool > *interrupt=nullptr)
static
static std::string GetMPModelRequestLoggingInfo(const MPModelRequest &request)
static
In SWIG mode, we don't want anything besides these top-level includes.
MPSolutionResponse SolveMPModel(LazyMutableCopy< MPModelRequest > request, const SolveInterrupter *interrupter)
bool SolverTypeSupportsInterruption(const MPModelRequest::SolverType solver)
std::string MPModelRequestLoggingInfo(const MPModelRequest &request)