ortools.math_opt.core.python.solver

def solve(*args, **kwargs):

solve(model: operations_research::math_opt::ModelProto, solver_type: operations_research::math_opt::SolverTypeProto, solver_initializer: operations_research::math_opt::SolverInitializerProto, parameters: operations_research::math_opt::SolveParametersProto, model_parameters: operations_research::math_opt::ModelSolveParametersProto, message_cb: Callable[[list[str]], None], callback_registration: operations_research::math_opt::CallbackRegistrationProto, user_cb: Callable[[operations_research::math_opt::CallbackDataProto], operations_research::math_opt::CallbackResultProto], interrupt: operations_research::SolveInterrupter) -> operations_research::math_opt::SolveResultProto

def compute_infeasible_subsystem(*args, **kwargs):

compute_infeasible_subsystem(model: operations_research::math_opt::ModelProto, solver_type: operations_research::math_opt::SolverTypeProto, solver_initializer: operations_research::math_opt::SolverInitializerProto, parameters: operations_research::math_opt::SolveParametersProto, message_cb: Callable[[list[str]], None], interrupt: operations_research::SolveInterrupter) -> operations_research::math_opt::ComputeInfeasibleSubsystemResultProto

def new(*args, **kwargs):

new(solver_type: operations_research::math_opt::SolverTypeProto, model: operations_research::math_opt::ModelProto, solver_initializer: operations_research::math_opt::SolverInitializerProto) -> operations_research::math_opt::PybindSolver

def debug_num_solver() -> int:

debug_num_solver() -> int

class Solver(pybind11_builtins.pybind11_object):
Solver(*args, **kwargs)
def solve(self, *args, **kwargs):

solve(self: ortools.math_opt.core.python.solver.Solver, arg0: operations_research::math_opt::SolveParametersProto, arg1: operations_research::math_opt::ModelSolveParametersProto, arg2: Callable[[list[str]], None], arg3: operations_research::math_opt::CallbackRegistrationProto, arg4: Callable[[operations_research::math_opt::CallbackDataProto], operations_research::math_opt::CallbackResultProto], arg5: operations_research::SolveInterrupter) -> operations_research::math_opt::SolveResultProto

def update(self, arg0) -> bool:

update(self: ortools.math_opt.core.python.solver.Solver, arg0: operations_research::math_opt::ModelUpdateProto) -> bool

class SolveInterrupter(pybind11_builtins.pybind11_object):
SolveInterrupter()
def interrupt(self) -> None:
def is_interrupted(self) -> bool: