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.solver(prob)[source]#
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.

pm4py.util.lp.variants.pulp_solver.get_prim_obj_from_sol(sol, parameters=None)[source]#

Retrieves the objective value from the solved LP problem.

pm4py.util.lp.variants.pulp_solver.get_points_from_sol(sol, parameters=None)[source]#

Retrieves the values of the decision variables from the solved LP problem.