Commit Graph

96 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
3d326ddd42 read taillard flowshop problems 2011-12-22 16:25:52 +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
e5cb0df1ca name variables 2011-12-17 21:16:55 +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
05fbc835c8 improve README 2011-12-08 16:47:32 +00:00
lperron@google.com
f2e3c17a9f improve error handling 2011-12-05 14:41:06 +00:00
lperron@google.com
566f1ffbf9 remove obsolete linear solver API 2011-12-05 14:14:20 +00:00
lperron@google.com
6846e34d79 better behavior of jobshop 2011-12-02 15:34:59 +00:00
lperron@google.com
1cd22b70bf export sequence variable names, improve graph export 2011-11-25 11:53:00 +00:00
lperron@google.com
5294624b9e new graph exporter, supports gml files, use it in model_util.cc 2011-11-23 23:04:58 +00:00
lperron@google.com
c9de02ac98 LinearSolver::SolverWithProtocolBuffers is now static 2011-11-19 01:58:48 +00:00
lperron@google.com
af9c7903b2 specialize implementation of ebert graph for speed and memory, use it where needed 2011-11-16 17:33:38 +00:00
lperron@google.com
b1a4992cbc added Pickup and Delivery problem 2011-11-16 17:31:41 +00:00
lperron@google.com
0f8ee1d167 remove obsolete linear solver AddXXXTerm API 2011-11-14 20:53:55 +00:00
lperron@google.com
6c57cec610 deprecate linear solver API in Add...Term 2011-11-10 09:36:26 +00:00
lperron@google.com
84db2d1eaf make code robust in one of CLP/CBC/GLPK is not used with or-tools 2011-11-03 14:58:12 +00:00
lperron@google.com
0e3ba4b3aa missing example 2011-11-03 10:30:57 +00:00
lperron@google.com
4d642b6669 big fall push: improved doc, added READMEs, split Sequence into SequenceVar and DisjunctiveConstraint, renamed most examples 2011-11-03 10:27:53 +00:00
lperron@google.com
672e38064b README file for examples 2011-10-19 15:56:31 +00:00
lperron@google.com
8ab2b0bfff README file for examples 2011-10-19 15:11:27 +00:00
lperron@google.com
dde7777113 README file for examples 2011-10-19 14:15:54 +00:00
lperron@google.com
4e529fad1a README file for examples 2011-10-19 13:27:29 +00:00
lperron@google.com
d85a49e3d5 README file for examples 2011-10-19 12:58:35 +00:00
lperron@google.com
70b8ade45e misc improvements 2011-10-06 16:42:28 +00:00
lperron@google.com
3e3dcf5cbe rewrite jobshop example to improve readability and documentation 2011-10-06 12:24:17 +00:00
lperron@google.com
0459a7c303 improve network_routing problem 2011-10-05 16:16:09 +00:00
lperron@google.com
cf8819c32d working version of jobshop 2011-10-05 09:46:27 +00:00
lperron@google.com
0761301091 fix jobshop example 2011-10-04 16:28:45 +00:00
lperron@google.com
82a387f02f add read data_file to jobshop model, introduce JobShopData class 2011-10-04 16:04:31 +00:00
lperron@google.com
5c42f5a281 fix termination of license text 2011-10-04 16:03:55 +00:00
lperron@google.com
abe130e6b1 make examples robust to no solution found 2011-10-04 16:03:38 +00:00
lperron@google.com
ab26e66ffb remove obsolete include 2011-10-04 14:41:52 +00:00
lperron@google.com
9148309554 improve column_generation example 2011-09-22 09:08:58 +00:00
lperron@google.com
96221c1cce new example showing column generation 2011-09-22 08:59:46 +00:00
lperron@google.com
2fce86a422 fix includes 2011-09-21 15:16:48 +00:00
lperron@google.com
dcb0f8c2ff misc cleanups in examples 2011-09-17 13:33:29 +00:00
lperron@google.com
2c35810080 jobshop c++ example 2011-09-14 08:12:56 +00:00
lperron@google.com
5b1f25c2ff add iteration info 2011-09-12 21:17:27 +00:00
lperron@google.com
f7240b82c2 fix example 2011-09-12 21:17:15 +00:00
lperron@google.com
0ad400e79c add verbose error messages on dimacs linear sum assignment reader/solver 2011-09-08 00:35:53 +00:00
lperron@google.com
1c8a3db3b1 fix nqueens example 2011-09-08 00:34:28 +00:00
lperron@google.com
35677ecf29 add model I/O at the solver level 2011-09-05 13:45:29 +00:00
lperron@google.com
518f6ab5d9 add logical integer indices in routing API 2011-08-11 23:05:07 +00:00
lperron@google.com
3794f40fba add API to query activity of a row 2011-08-11 18:44:23 +00:00
lperron@google.com
3d76616700 MPSolver can accept protocol buffers as input and as output, examples in examples/linear_solver_example_with_protocol_buffers.cc 2011-07-14 00:01:51 +00:00
lperron@google.com
be28779b6c ability to modify and resolve min_cost_flow/max_flow 2011-07-06 21:23:48 +00:00
lperron@google.com
25cd520324 improve dimacs parser 2011-06-28 09:25:16 +00:00
lperron@google.com
49fd36fdfe misc improvements; remove hybrid from python/java 2011-06-24 12:09:14 +00:00
lperron@google.com
89b863d651 pair -> std::pair on code 2011-06-23 08:48:05 +00:00