Commit Graph

5 Commits

Author SHA1 Message Date
lperron@google.com
3d73690183 implemented FileLineReader class, use it in jobshop and multidim_knapsack 2011-12-23 15:03:23 +00:00
lperron@google.com
fd2b198c5b multidim knapsack .cp models 2011-12-22 14:53:48 +00:00
lperron@google.com
371bee8215 automatic linearization of models; multi-dimensional knapsack problem along with usage of automatic linearization 2011-12-19 16:42:41 +00:00
lperron@google.com
af60f38cc2 This should complete the reimplementation/extension of SequenceVar.
Now it should be possible to do meaningful LS and LNS on sequence variables.

Move RevBitSet to constraint_solveri.h.
Extend sequence with RankLast/RankNotLast.
Change assignment element on sequence to take 3 vectors:
  - rank_firsts.
  - rank_lasts.
 	  - unperformed.
Changed FillSequence accordingly.
Change proto accordingly.
Add trace event on SequenceVar::RankSequence.
Add trace event on SequenceVar::RankLast/RankNotLast.
Added a RankSequence which take as input these 3 vectors.
Add RevArray<T> template.
Generalize use of Rev<T> and RevArray<T> in the code.

Add API to discover and collect the decision variables of the model.
Test it in model_util.
2011-12-16 21:02:59 +00:00
lperron@google.com
04f5219483 rename directory to lower case 2011-12-05 14:44:35 +00:00