linopy.solvers.run_cplex(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 cplex solver.

This function reads the linear problem file and passes it to the cplex solver. If the solution is successful it returns variable solutions and constraint dual values. Cplex must be installed for using this function.

Note if you pass additional solver_options, the key can specify deeper layered parameters, use a dot as a separator here, i.e. **{‘’ : x}.