linopy.solvers Module

Linopy module for solving lp files with different solvers.

Functions

maybe_convert_path(path)

Convert a pathlib.Path to a string.

run_cbc(problem_fn, log_fn[, solution_fn, ...])

Solve a linear problem using the cbc solver.

run_cplex(problem_fn, log_fn[, solution_fn, ...])

Solve a linear problem using the cplex solver.

run_glpk(problem_fn, log_fn[, solution_fn, ...])

Solve a linear problem using the glpk solver.

run_gurobi(problem_fn, log_fn[, ...])

Solve a linear problem using the gurobi solver.

run_xpress(problem_fn, log_fn[, ...])

Solve a linear problem using the xpress solver.

set_int_index(series)

Convert string index to int index.