Commit Graph

136 Commits

Author SHA1 Message Date
Laurent Perron
00a87db3d6 support swig -doxygen when present; update doc 2019-06-27 17:06:11 +02:00
Laurent Perron
a21c268d83 remove -doxygen option to swig by default 2019-06-27 11:24:19 +02:00
Laurent Perron
ac02a1cdfe add doxygen comments; use it with swig 4.0 with the -doxygen comment 2019-06-25 21:48:27 +02:00
Corentin Le Molgat
4177135536 Add knapsack sample 2019-05-10 22:51:10 +02:00
Laurent Perron
3c5cd313d5 Polish new CP-SAT Java API 2019-05-06 22:21:53 +02:00
Corentin Le Molgat
6fd7d5de73 Java: fix sat Domain::fromValue
SWIG long long vs int64
2019-05-03 17:56:39 +02:00
Corentin Le Molgat
be0fbf9bee Update LP test 2019-04-23 16:08:58 +02:00
Corentin Le Molgat
3bc57f1aec Add VRP with Time Limit samples 2019-04-19 18:47:55 +02:00
Corentin Le Molgat
9e1bc75fa4 Add makefile recipes for the new SAT samples 2019-03-25 14:20:39 +01:00
Corentin Le Molgat
57f7ef8464 Add Simple Cp Program 2019-03-18 13:45:24 +01:00
Corentin Le Molgat
2b36515b43 Add VRP Resources samples 2019-03-11 17:36:23 +01:00
Corentin Le Molgat
5ae08d978b Add: VRP_Initial_Routes samples 2019-03-04 11:25:55 +01:00
Corentin Le Molgat
efa9e9bb7b Merge LsApi.java to TestConstraintSolver.java 2019-03-04 00:05:12 +01:00
Corentin Le Molgat
9cf1e2796a Adding TspCities and TspCircuitBoard example 2019-02-18 17:50:31 +01:00
Corentin Le Molgat
3ad89c61d2 Add Java tests for Constraint Solver & Routing Solver 2019-02-05 12:05:57 +01:00
Corentin Le Molgat
b4377c6ad3 Java: Add TestSat.java to test_java_tests 2019-02-05 10:34:21 +01:00
Corentin Le Molgat
f562e3a4ae Expose PickupAndDeliveryPolicy APIs (#961) 2019-01-17 14:56:50 +01:00
Corentin Le Molgat
c3a2c123b5 Add VrpPickupDelivery.java 2019-01-10 16:03:34 +01:00
Corentin Le Molgat
38c03c4df6 Add Java samples 2019-01-09 11:30:30 +01:00
Corentin Le Molgat
64efcc13e3 Add VrpCapacity.java 2019-01-07 17:23:21 +01:00
Corentin Le Molgat
96051d559c Add SimpleRoutingProgram.java 2018-12-28 16:02:21 +01:00
Corentin Le Molgat
5a4ab80646 Move Tsp.java & Vrp.java to cp/samples 2018-12-27 11:02:35 +01:00
Laurent Perron
0d892e24bf add missing SWIG_INC to java swig invocations 2018-12-10 14:01:20 +01:00
Laurent Perron
a60c3291cd java support int64 -> int64_t 2018-12-10 13:35:51 +01:00
Corentin Le Molgat
b027e57e95 dotnet: Remove reference to dotnet release command
- Currently not implemented...

Add abseil patch

- Add patches/absl-config.cmake

Makefile: Add abseil-cpp on unix

- Force abseil-cpp SHA1 to 45221cc
  note: Just before the PR #136 which break all CMake

Makefile: Add abseil-cpp on windows

- Force abseil-cpp SHA1 to 45221cc
  note: Just before the PR #136 which break all CMake

CMake: Add abseil-cpp

- Force abseil-cpp SHA1 to 45221cc
  note: Just before the PR #136 which break all CMake

port to absl: C++ Part

- Fix warning with the use of ABSL_MUST_USE_RESULT
  > The macro must appear as the very first part of a function
    declaration or definition:
    ...
    Note: past advice was to place the macro after the argument list.
  src: dependencies/sources/abseil-cpp-master/absl/base/attributes.h:418
- Rename enum after windows clash
- Remove non compact table constraints
- Change index type from int64 to int in routing library
- Fix file_nonport compilation on windows
- Fix another naming conflict with windows (NO_ERROR is a macro)
- Cleanup hash containers; work on sat internals
- Add optional_boolean sub-proto

Sync cpp examples with internal code
- reenable issue173 after reducing number of loops

port to absl: Python Part

- Add back cp_model.INT32_MIN|MAX for examples

Update Python examples

- Add random_tsp.py
- Run words_square example
- Run magic_square in python tests

port to absl: Java Part

- Fix compilation of the new routing parameters in java
- Protect some code from SWIG parsing

Update Java Examples

port to absl: .Net Part

Update .Net examples

work on sat internals; Add C++ CP-SAT CpModelBuilder API; update sample code and recipes to use the new API; sync with internal code

Remove VS 2015 in Appveyor-CI

- abseil-cpp does not support VS 2015...

improve tables

upgrade C++ sat examples to use the new API; work on sat internals

update license dates

rewrite jobshop_ft06_distance.py to use the CP-SAT solver

rename last example

revert last commit

more work on SAT internals

fix
2018-11-30 14:48:55 +01:00
Corentin Le Molgat
0f7551551f Add Samples from g3 2018-11-27 08:20:58 +01:00
Corentin Le Molgat
7e47d2dae5 Add SimpleMipProgram from g3 2018-11-22 09:47:20 +01:00
Corentin Le Molgat
97044de369 Makefile: Add samples rules for algorithm and graph 2018-11-16 15:10:15 +01:00
Laurent Perron
c75045897b merge simple_solve_sample_sat into simple_sat_program; update doc 2018-11-16 05:02:48 -08:00
Laurent Perron
8fd62c9e43 reorganize all sat samples to have regular naming
Remove sub-method in C# sat sample, just use Main()
2018-11-15 10:56:34 -08:00
Laurent Perron
2edea4be83 add CpIsFun.java 2018-11-10 13:40:57 +01:00
Corentin Le Molgat
2e5e79cdc7 Add linear_solver/samples/SimpleLPProgram 2018-11-09 12:53:46 +01:00
Laurent Perron
48d4fe2b89 fix makefiles after contrib example 2018-11-07 21:31:58 +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
Corentin Le Molgat
c18421ab44 Makefile: Add build/run target
- Add build/run target to archive Makefile
- Be able to run cc/python/java/dotnet examples in //
2018-10-31 08:33:43 +01:00
Corentin Le Molgat
96de4ec227 Java: Create target test_java_tests for UT 2018-09-18 10:30:36 +02:00
Corentin Le Molgat
b3701b1b9f makefile: Fix JA*_BIN path 2018-09-17 12:00:59 +02:00
Corentin Le Molgat
b10b2e92a4 Maintenance: update Makefile.java.mk
- Add quotes guards to protect from space in path
2018-09-10 14:26:25 +02:00
Corentin Le Molgat
836ecba6bd java: Remove $(JAR)
- now test_java depends on rjava_% which generate the same list
2018-09-04 10:07:32 +02:00
Corentin Le Molgat
a1fdabf3b1 Makefile: remove redundant ortoolslibs target
- prefere to use `cc` phony target or $(OR_TOOLS_LIBS) file
2018-09-04 10:07:32 +02:00
Laurent Perron
b3743f4cff Fix #40 + test 2018-09-02 09:24:24 +02:00
Corentin Le Molgat
6d9fae0be4 java: Makefile cleanup 2018-08-31 18:23:08 +02:00
Corentin Le Molgat
c8643fc456 java: rework examples target 2018-08-29 16:56:25 +02:00
Corentin Le Molgat
a340d87b04 java: Add Vrp.java example 2018-08-27 11:59:55 +02:00
Laurent Perron
caca08f3f1 tentative fix for java sat 2018-08-01 22:25:32 -07:00
Laurent Perron
39fa9a6d61 minimal java sat sample implemented 2018-08-01 15:29:10 -07:00
Laurent Perron
5e2a5d1d86 stub code to get sat/java interface 2018-08-01 14:10:19 -07:00
Corentin Le Molgat
cb3972c6db java: use J for .jar extension 2018-07-17 15:03:10 +02:00
Corentin Le Molgat
13a566bed4 Move java examples 2018-07-10 11:16:20 +02:00
Corentin Le Molgat
4f24443b17 Move windows tools to tools/win 2018-07-10 11:16:20 +02:00