![]() | |||||||||||||||||||
| |||||||||||||||||||
Basic MIP tasks: binary variables; logic constraints Description We wish to choose among items of different value and
weight those that result in the maximum total value for
a given weight limit. Further explanation of this example: 'Xpress Python Reference Manual'
Source Files By clicking on a file name, a preview is opened at the bottom of this page.
Data Files burglar_rec_dat.py # Data file for `burglar_rec.py' I = {"camera": [15, 2], "necklace": [100, 20], "vase": [90, 20], "picture": [60, 30], "tv": [40, 40], "video": [15, 30], "chest": [10, 60], "brick": [1, 10]}
| |||||||||||||||||||
© Copyright 2025 Fair Isaac Corporation. |