linopy.solvers.run_cbc

Contents

linopy.solvers.run_cbc#

linopy.solvers.run_cbc(model, io_api=None, problem_fn=None, solution_fn=None, log_fn=None, warmstart_fn=None, basis_fn=None, keep_files=False, env=None, **solver_options)#

Solve a linear problem using the cbc solver.

The function reads the linear problem file and passes it to the cbc solver. If the solution is successful it returns variable solutions and constraint dual values. For more information on the solver options, run ‘cbc’ in your shell