pm4py.util.lp.variants.pulp_solver module#
- class pm4py.util.lp.variants.pulp_solver.Parameters(*values)[source]#
Bases:
Enum- REQUIRE_ILP = 'require_ilp'#
- INTEGRALITY = 'integrality'#
- BOUNDS = 'bounds'#
- pm4py.util.lp.variants.pulp_solver.get_variable_name(index)[source]#
Generates a variable name with leading zeros to ensure consistent length.
- pm4py.util.lp.variants.pulp_solver.apply(c, Aub, bub, Aeq=None, beq=None, parameters=None)[source]#
Solves a linear programming problem using PuLP with all inputs as Python lists or lists of lists.