linopy.solvers.Solver.from_name

linopy.solvers.Solver.from_name#

static Solver.from_name(name, model=None, io_api=None, options=None, track_updates=False, **build_kwargs)#

Construct the solver subclass registered as name.

With model supplied, the solver is built immediately. Without it, an unbuilt instance is returned and the first solve(model, ...) call performs the build. See Solver for track_updates.