Commit Graph

966 Commits

Author SHA1 Message Date
Laurent Perron
475ccd99e3 move contrib examples to a dedicated contrib directory 2018-11-07 20:49:03 +01:00
Laurent Perron
5a6e658475 Merge branch 'master' of github.com:google/or-tools 2018-11-07 17:26:14 +01:00
Laurent Perron
692114def7 port c++ sat examples to the new API; add little methods to the sat C++ api 2018-11-07 17:25:58 +01:00
Corentin Le Molgat
9cad0c15ae Replace 0 by EXIT_SUCCESS 2018-11-07 09:55:42 +01:00
Corentin Le Molgat
f7060f83a5 Rename SimpleProgram.fs to SimpleProgramFSharp.fs
- Avoid collision with SimpleProgram.fs binary output
2018-11-06 18:01:21 +01:00
Corentin Le Molgat
34e2675112 Fix SimpleProgram.fs entry point 2018-11-06 16:32:26 +01:00
Corentin Le Molgat
a0c3fe2ee1 Fixup SimpleProgram.fs 2018-11-06 15:29:21 +01:00
Corentin Le Molgat
8eeadbecce Add SimpleProgram
This is the example use in optimization site:
GUIDES/Introduction/GetStarted/<lang>/RunningProgram
2018-11-06 14:36:21 +01:00
Laurent Perron
77ffc2abb2 fix #911, rewrite example to use CP-SAT 2018-11-06 08:44:56 +01:00
Corentin Le Molgat
fc961bad35 Update constraint_solver_cp (C++, Python) 2018-10-15 10:10:06 +02:00
Corentin Le Molgat
ac42c57a8e Update stigler_diet example (C++, Python) 2018-10-15 10:10:06 +02:00
Corentin Le Molgat
b1ea750b1a Update linear_programming examples 2018-10-15 10:00:37 +02:00
Corentin Le Molgat
719172b621 Update constraint_programming_cp.cc 2018-10-12 10:07:00 +02:00
Corentin Le Molgat
97584db53d Add stigler_diet.cc 2018-10-12 09:48:12 +02:00
Corentin Le Molgat
128363e477 Sync linear_programming with documentation
- move previous code to tests/lp_test.cc
2018-10-12 09:48:12 +02:00
Corentin Le Molgat
3d1eafaa80 Update tsp.cc vrp.cc 2018-10-12 09:48:12 +02:00
Corentin Le Molgat
143eb3b967 Add cvrp_reload.py 2018-10-12 09:48:12 +02:00
Corentin Le Molgat
487b49372c Fix job_shop_cp include on windows 2018-10-10 08:09:08 +02:00
Corentin Le Molgat
94015d8a87 Fix nurses_cp.cc include 2018-10-09 17:33:35 +02:00
Laurent Perron
6fad54d17a clean python example 2018-10-05 14:29:25 +02:00
Laurent Perron
68dee31810 fix 2018-10-02 14:09:29 +02:00
Corentin Le Molgat
7e3b834476 Add nurses_cp.cc and job_shop_cp.cc 2018-10-02 10:10:53 +02:00
Corentin Le Molgat
023d437c17 Update python routing examples 2018-09-27 10:36:00 +02:00
Corentin Le Molgat
027f5cc3f8 Add missing basic examples
C++:
 - [Up] linear_programming
 - [Up] integer_programming
 - constraint_programming_CP / rabbits_pheasants_cp
 - knapsack
 - max_flow / min_cost_flow
 - tsp / vrp
note: previous "fuzzy" tsp has been renamed random_tsp.

.Net:
 - vrp
2018-09-26 13:15:34 +02:00
Corentin Le Molgat
a2978f293d Fix typo in cstsp.cs 2018-09-26 13:15:34 +02:00
Laurent Perron
e07a02ba80 small CP-SAT C++ examples with variable duration intervals 2018-09-26 11:03:15 +02:00
Laurent Perron
66f7800285 polish code 2018-09-25 22:33:41 +02:00
Laurent Perron
f71ac3100a rename last examples, fix comment 2018-09-25 21:56:00 +02:00
Laurent Perron
ebf86f1f7c new python problem 2018-09-25 21:47:40 +02:00
Laurent Perron
d93d85b463 fix flexible_jobshop example and test 2018-09-25 08:51:19 +02:00
Laurent Perron
bbbe8b1fd4 reenable dimacs problem 2018-09-25 08:10:36 +02:00
Laurent Perron
4b272939ad incomplete fix dimacs example 2018-09-24 21:48:41 +02:00
Laurent Perron
b4e8d89fe5 reformat code 2018-09-20 13:56:50 +02:00
Laurent Perron
b1da9320f9 enable objective lower bound (when minimizing) on the SAT solver in Python, Java, C#; change objective_value to be double (as in C++) for these languages. 2018-09-20 11:30:19 +02:00
Laurent Perron
19dca72711 dominance relation on single machine scheduling 2018-09-19 14:58:50 +02:00
Laurent Perron
759bdb12c3 add latest examples to python tests 2018-09-19 14:24:28 +02:00
Laurent Perron
6259a22aa4 pylint fixes 2018-09-19 14:16:40 +02:00
Laurent Perron
9f074102ea improve single machine scheduling example 2018-09-19 14:05:15 +02:00
Laurent Perron
4e5d61b5c2 improve single machine scheduling example 2018-09-19 14:01:52 +02:00
Laurent Perron
ea88c188b2 improve single machine scheduling example 2018-09-19 14:00:23 +02:00
Laurent Perron
32e9afd2dc single machine scheduling 2018-09-19 13:24:09 +02:00
Laurent Perron
ef1d4d0253 fix grammar mistake 2018-09-19 13:21:34 +02:00
Laurent Perron
df3fc2af44 change comment to docstring 2018-09-19 13:21:13 +02:00
Laurent Perron
e226e523a9 adds command line arguments to scheduling_with_stransitions_sat.py 2018-09-19 10:37:33 +02:00
Laurent Perron
6e991b6861 adds command line arguments to scheduling_with_stransitions_sat.py 2018-09-19 10:36:05 +02:00
Laurent Perron
bd5239fb14 add large data set to scheduling_with_transitions_sat.py 2018-09-19 10:28:06 +02:00
Laurent Perron
73f7894156 magic sequence in sat 2018-09-18 17:45:44 +02:00
Laurent Perron
4e7bae206c polish examples 2018-09-18 13:31:08 +02:00
Laurent Perron
0c07c828be add rank management to scheduling_with_costs python CP-SAT example 2018-09-18 11:58:25 +02:00
Corentin Le Molgat
6bbf49935b dotnet: Add examples/tests 2018-09-18 09:16:51 +02:00