Commit Graph

799 Commits

Author SHA1 Message Date
Laurent Perron
5eff2ed1bd polish sat doc and code samples 2018-05-30 11:29:09 -07:00
Laurent Perron
ca579c649f add code samples in C++ for sat 2018-05-30 10:03:49 -07:00
Laurent Perron
bd106059e5 support assembly scheduling in the jobshop_scheduling.proto and corresponding examples/cpp/jobshop_sat.cc 2018-05-22 13:13:52 +02:00
Laurent Perron
9402f58d1d change sat internal API; stop ignoring random seed in glop 2018-05-16 13:43:29 +02:00
Laurent Perron
cb1fc93b94 fix wedding_optimal_chart_sat.py 2018-05-15 14:04:53 +02:00
Laurent Perron
798fa68a73 remove bad character 2018-05-15 13:57:28 +02:00
lperron
6efa6fb88d Merge pull request #692 from turadg/patch-1
port wedding_optimal_chart.cs to Python
2018-05-15 13:56:17 +02:00
Laurent Perron
23c58a71db Merge branch 'master' of https://github.com/google/or-tools 2018-05-15 13:54:25 +02:00
Laurent Perron
6d104e2127 new example 2018-05-15 13:54:21 +02:00
Turadg Aleahmad
f655eb3e7e port wedding_optimal_chart.cs to Python 2018-05-14 21:56:49 -07:00
qq88976321
e95fee9a63 Fix variable misused. 2018-05-03 21:38:48 +08:00
Corentin Le Molgat
786bfce05f Update routing python examples
- add vrp.py
- add vrpgs.py
- add cvrp.py
- update cvrptw.py
2018-04-27 16:47:49 +02:00
Corentin Le Molgat
fe9ddb78c8 Rework cvrptw.py
Try to use plausible data (e.g. currently, vehicles move at 36,000km/h...)
2018-04-27 14:17:05 +02:00
acco32
cd9d65f9e2 create fsproj, use dotnet tools, add test library 2018-04-20 14:58:27 -07:00
Laurent Perron
55d906819f add jobshop scheduling proto + parser + sat solver 2018-04-18 13:37:29 +02:00
Laurent Perron
023bc19334 update C++ examples after changes in base library 2018-04-11 13:47:07 +02:00
Laurent Perron
8623fc3580 speed up sat cumulative; add namespaces to base library + fix code 2018-04-11 13:00:30 +02:00
Mizux
ae8f032d61 Merge pull request #612 from acco32/fsharp
Add nuget package for F#
2018-03-26 13:43:34 +02:00
Laurent Perron
8ac56302da small improvements to SAT presolve; fix sat_runner 2018-03-13 17:20:49 +01:00
acco32
e135434497 Add nuget package 2018-03-07 19:36:52 -08:00
Laurent Perron
1611c64646 ported gate_scheduling from python to C# 2018-02-20 15:42:34 +01:00
Laurent Perron
f7218ad84c ported gate_scheduling from python to C# 2018-02-20 15:39:57 +01:00
Laurent Perron
1a5a0c8c85 improve jobshop_ft06_sat.cs code 2018-02-19 16:41:56 +01:00
Laurent Perron
9dfbd08c9f finish C# Sat API; first jobshop example; Add sat in test_csharp 2018-02-19 15:57:19 +01:00
Laurent Perron
2c8a97e994 correct Hakan email address 2018-02-19 15:21:05 +01:00
Laurent Perron
4efc0ae078 more work on Sat C# 2018-02-14 18:56:50 +01:00
acco32
9425098598 Add constraint programming examples 2018-02-13 00:00:34 -08:00
Laurent Perron
b7cf1a453e Add BooleanValue getter on CPSolver and CpSolverSolutionCallback in C#; use it in nurses_sat.cs solution printer 2018-02-12 13:23:32 +01:00
Laurent Perron
57c12f834b improve sat/swig_helper to support director based callbacks; Implement solution callback in C# CpModel; fill in time in solution observer; use callbacks in nurses_sat.cs 2018-02-09 17:28:03 +01:00
Laurent Perron
6391f2cbee nurses_sat ported to python, still missing searching for all solutions 2018-02-09 15:39:23 +01:00
Laurent Perron
d80011fcfc evaluate expressions in the solver 2018-02-09 11:20:47 +01:00
Laurent Perron
c109b88777 more work on C# Sat 2018-02-08 19:03:24 +01:00
Laurent Perron
acbbd2a2f3 start adding Sat/CpSolver API in C# 2018-02-07 16:47:24 +01:00
Laurent Perron
88098ec1f9 more work on sat C# 2018-02-07 16:38:27 +01:00
lperron
7dd80b7dfe Merge pull request #566 from acco32/fsharp
Integration into main makefile
2018-02-07 10:52:37 +01:00
Laurent Perron
6820d51741 more work on sat c# 2018-02-06 19:47:11 +01:00
Laurent Perron
e06ab7b039 initial port of python sat/cp_model.py in C# 2018-02-06 17:33:58 +01:00
acco32
ae3641b68e Integration into main makefile 2018-01-26 18:13:23 -08:00
Mizux
b30efcc970 Merge pull request #559 from acco32/fsharp
Improve FSharp support
2018-01-20 10:39:01 +01:00
Mizux
4e7dfa32d8 Merge pull request #5 from narfunikita/fix-csharp-cscvrptw-example-GC
Fix csharp cscvrptw example. Protect callbacks from GC.
2018-01-20 10:32:04 +01:00
narfunikita
507375764d Fix csharp cscvrptw example. Protect callbacks from GC. 2018-01-19 22:05:04 +03:00
Corentin Le Molgat
8bd5acee1a Add Test & Examples
Tests:
- Add cc test
- Add python test

Examples:
- Add examples/cpp
- Add examples/data
- Add examples/notebook
- Add examples/python

Signed-off-by: Corentin Le Molgat <corentinl@google.com>
2018-01-19 15:03:25 +01:00
acco32
b5ec5fd229 Adding Makefile to create library and referecing library only. 2018-01-18 17:49:33 -08:00
Laurent Perron
0027a1a192 Merge branch 'master' of https://github.com/google/or-tools 2018-01-10 13:21:15 +01:00
Laurent Perron
88ef3d0302 remove std:: from std::min|max in comments; performance improvements on the SAT, bug fixes 2018-01-10 13:21:06 +01:00
acco32
d54aafb02a Adding Linear Programming example for network flows. Some refactoring for flow results. 2018-01-04 16:14:49 -08:00
Laurent Perron
6e9f6b25d9 Merge branch 'master' of https://github.com/google/or-tools 2017-12-29 11:14:12 +01:00
Laurent Perron
aad245304f fix compilation of sat_runner 2017-12-29 11:14:08 +01:00
acco32
6287fe375f Adding Knapsack example 2017-12-26 20:06:47 -08:00
acco32
53860de6c3 Adding Network examples 2017-12-22 00:29:34 -08:00