milp module¶
Set of algorithms based on the formulation off Mixed-Integer Linear Programming models.
-
class
jinete.algorithms.exacts.milp.MilpAlgorithm(model_cls=None, *args, **kwargs)[source]¶ Bases:
jinete.algorithms.abc.AlgorithmThe jinete’s interface to solve the given problem, supported by the Mixed-Integer Linear Programming frame.
-
__init__(model_cls=None, *args, **kwargs)[source]¶ Construct a new instance.
- Parameters
model_cls (Type[LinearModel]) – The model class to generate the representation of the problem.
args – Additional positional arguments.
kwargs – Additional named arguments.
-
optimize()¶ Perform an optimization over the
jobbased on thefleetresources.Generates a
Resultobject containing the generated planning.- Return type
- Returns
A
Resultobject.
-