Functions | |
def | bpp (s, B) |
def | DiscreteUniform (n=10, LB=1, UB=99, B=100) |
def | FFD (s, B) |
def | solveBinPacking (s, B) |
Variables | |
B | |
def | bins = solveBinPacking(s, B) |
def | ffd = FFD(s, B) |
s | |
def bpp.bpp | ( | s, | |
B | |||
) |
bpp: Martello and Toth's model to solve the bin packing problem. Parameters: - s: list with item widths - B: bin capacity Returns a model, ready to be solved.
Definition at line 38 of file bpp.py.
References FFD(), and pyscipopt.expr.quicksum().
def bpp.DiscreteUniform | ( | n = 10 , |
|
LB = 1 , |
|||
UB = 99 , |
|||
B = 100 |
|||
) |
def bpp.FFD | ( | s, | |
B | |||
) |
def bpp.solveBinPacking | ( | s, | |
B | |||
) |
def bins = solveBinPacking(s, B) |