gt; 140
> 260
> 330
> 4 70
> 550
> 640
> 715
> 825 ;
>
> end;
>
>
> Bin 1: total weight 100
> item 1 (40)
> item 2 (60)
>
> Bin 2: total weight 100
> item 3 (30)
&
t;
> This could be done through the objective function. But before going there,
> I'm wondering a bit
> about the solution you're showing for your example. Wouldn't you want move
> item 7 from Bin 3 to Bin 2 to meet your primary objective?
>
> Jeff
>
>
&
Hello everyone,
I modified bpp.mod to pack items in predefined number of bins of unlimited
capacity so that weight is (approximately) evenly distributed between bins. In
addition to weight, each item has an "order" or "position". Is there a way to
write an additional model constraint so that it