Originally posted by: abhzap
Hi All,
I have looked through the cutstock.java example and was curious as to why only array [] are used. Is there a reason that dynamic datastructures such as ArrayList is not used for storing handles to constraints and variables? For e.g. IloRange[] Fill = new IloRange[_amount.length]; is what is used in the cutstock.java example. What about something like ArrayList<IloRange> Fill = new ArrayList<IloRange>(); ?
Any insight will be helpful and much appreciated.
Thanks,
abhzap
#CPLEXOptimizers#DecisionOptimization