|
From: Laurent C. <cai...@de...> - 2002-09-08 09:00:11
|
> Just out of curiousity, what exactly does the "rank" > say. "instanciation rank of the Var" didn't make me > much smarter I'm afraid :-) No, it is not smart at all. But in some cases it's very handy. Please note that : - it is intended to be used only when you've got 1 sole array of Vars in your system, - you're not bound to used getRank(). You can create your own Vars, which provide a reference to the buisness object member you wish to access to. > I also have a question regarding cost functionality. > I need to implement something like "make min timespan". > ... > Any ideas? In general, how should one work with overal > costs? You should create a Constraint "MinTimespan" which whould increase error of all Vars implied in timespan calculation. This is, at a certain point, the same thing as explaining a solver what you want, and how vars are interrelated. |