[SCIP] [Binpacking] ids array in probdata structure

Ambros Gleixner gleixner at zib.de
Tue Feb 20 07:59:44 CET 2018


Hi Guillerme,

I guess you are right.  This is probably a redundancy left from a more 
involved implementation, which was then "simplified".  Thank you for 
pointing us to this.

Best,
Ambros


Am 16.02.2018 um 10:14 schrieb Guillerme Duvillié:
> Hi everybody,
> 
> I'm really sorry if this is a dumb question... I'm working on some
> branch and price algorithm and I'm studying a little bit the binpacking
> example which is given with scip.
> 
> Something is bugging me, I don't see the point with the ids array in the
> probdata structure. It seems that every cell of the array is filled with
> its index and that it never changes. It follows that when using
> ids[itemid1] we should be able to use itemid1 instead and have the same
> result.
> 
> Am I missing something?
> 
> Thank you in advance
> 
> Guillerme
> 
> 
> 
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip
> 

-- 
Ambros Gleixner, Research Group Mathematical Optimization Methods at 
Zuse Institute Berlin, http://www.zib.de/gleixner


More information about the Scip mailing list