Commit Graph

151 Commits

Author SHA1 Message Date
Corentin Le Molgat
7e09eaf857 Add AssignemntSAT samples 2020-06-04 23:42:49 +02:00
Corentin Le Molgat
bcc6bd70a1 Add AssignmentMIP samples 2020-06-04 23:42:48 +02:00
Corentin Le Molgat
a62f22df9c Backport samples from g3 to gh 2020-05-26 13:51:51 +02:00
Mizux Seiha
0f96d9c521 make: add package_java target 2020-04-06 14:39:11 +02:00
Corentin Le Molgat
7b757c0b10 Makefile: disable execution flags 2020-02-28 08:21:26 +01:00
Corentin Le Molgat
bbd00fcf52 Java: remove s/long long/long/ swig hack 2020-02-14 17:02:47 +01:00
Corentin Le Molgat
f9356db84d Makefile: fix clean_java
now generated code is in gen/java/com... and not gen/com...
2020-02-14 10:48:04 +01:00
Laurent Perron
654475905b add java as a src directory for java sources 2019-12-31 18:23:12 +01:00
Laurent Perron
7912f1f52a add encoding option to javac 2019-11-14 13:48:02 -08:00
Laurent Perron
3719218d74 add java encoding option 2019-11-14 13:43:32 -08:00
Laurent Perron
302504701c add last sample to the list of tests 2019-09-08 09:41:06 +02:00
Laurent Perron
691a91e5d0 update java/python doc for algorithms 2019-07-11 17:54:23 -07:00
Laurent Perron
8546561b80 update doc 2019-07-04 15:11:35 +02:00
Laurent Perron
e6ff7153aa polish new linear_solver non C++ API 2019-07-01 14:13:15 +02:00
Laurent Perron
b6f820baf8 regenerate java doc 2019-06-29 13:03:00 +02:00
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