Commit Graph

285 Commits

Author SHA1 Message Date
Laurent Perron
270bd53958 cleanup 2022-03-31 18:21:53 +02:00
Laurent Perron
81d110eed5 reformat 2022-03-31 11:36:33 +02:00
Laurent Perron
18d3f72160 run python sat samples with bazel 2022-03-30 13:12:32 +02:00
Laurent Perron
d95e0a0f0c fix CP-SAT python samples not stopping 2022-02-23 13:04:03 +01:00
Laurent Perron
db9c8237d0 remove debug print 2022-02-22 23:13:37 +01:00
Laurent Perron
d0aec755ad release lock 2022-02-22 22:52:11 +01:00
Corentin Le Molgat
f4136a40d6 Fix clang-format 2022-02-16 16:18:08 +01:00
Laurent Perron
8fe2df9a18 [CP-SAT] regenerates all includes; improve core solver when the objective is pseudo-boolean 2022-02-15 18:00:11 +01:00
Laurent Perron
a1ec2adade [CP-SAT] allow variable number of arguments for OnlyEnforceIf, AddAllDifferent and all Boolean constraints for the Python API 2022-01-28 15:54:07 +01:00
bollhals
e3c427a950 improve allocation on some tests 2022-01-14 17:56:54 +01:00
Laurent Perron
1615d1956c fixes 2022-01-11 16:15:07 +01:00
Laurent Perron
43532a8d49 add incremental constraint creation in CP-SAT C# 2022-01-11 15:25:23 +01:00
Laurent Perron
577f5aef77 [CP-SAT] change constraints in CpModel C# API to allow incremental filling like in C++/Java 2022-01-11 12:43:56 +01:00
Laurent Perron
2f34343c6d fix CP-SAT C# layer; port samples 2022-01-10 18:22:27 +01:00
Laurent Perron
ceabca677c [CP-SAT] ScalProd -> WeightedSum 2022-01-04 19:35:22 +01:00
Laurent Perron
1166e1663a [CP-SAT] Next iteration in java modelling layer 2022-01-04 16:30:04 +01:00
Laurent Perron
6144215236 [CP-SAT] add BoolVar class to the java modelling layer 2022-01-03 18:57:09 +01:00
Laurent Perron
62d506143b [CP-SAT] Add AtMostOne/AtLeastOne/ExactlyOne constraint in all languages; rewrite linear expressions in java 2022-01-03 09:43:59 +01:00
Laurent Perron
79f2c45c33 [CP-SAT] Use AddExactly/AtMostOne in examples/samples; add int_square presolve; add multiplication constraint with target = left * right 2022-01-01 19:26:39 +01:00
Laurent Perron
e70772278d fix example 2021-12-29 13:39:05 +01:00
Mizux Seiha
d82acd67a0 Fixup AssignmentTaskSizesSat.cs 2021-12-23 14:47:08 +01:00
Corentin Le Molgat
d577c53613 Fixup assignment_teams_sat.cc 2021-12-22 16:22:15 +01:00
Mizux Seiha
eac928c64c Port AssignmentTeamsSat to all languages 2021-12-21 23:10:26 +01:00
Mizux Seiha
9264802715 Port AssignmentTaskSizesSat to all languages 2021-12-21 23:10:15 +01:00
Mizux Seiha
e87cb69780 Port AssignmentGroupsSat to all langages 2021-12-21 23:10:02 +01:00
Laurent Perron
0c22a715b2 [CP-SAT] improve doc on C++ builder API; rewrite python API to remove the DoubleLinearExpr class 2021-12-14 17:15:17 +01:00
Laurent Perron
3e398ad25e [CP-SAT] prepare removal of implicit cast BoolVar -> IntVar 2021-12-13 14:24:41 +01:00
Laurent Perron
683565613e [CP-SAT] CpModel::AddAllDifferentExpr -> AddAllDifferent 2021-12-13 11:42:38 +01:00
Laurent Perron
a7a4d84f42 [CP-SAT] improve cp_model.h; improve examples with arithmetic operators 2021-12-11 12:24:04 +01:00
Laurent Perron
6ae332569b natural API for Cp_SAT C++ 2021-12-09 15:29:49 +01:00
Laurent Perron
2d22667f30 [CP-SAT] deprecate BooleanSum and BooleanScalProd in favor of Sum and ScalProd 2021-12-08 16:29:40 +01:00
Laurent Perron
560826496b BUILD -> BUILD.bazel 2021-12-06 14:36:13 +01:00
Corentin Le Molgat
e41b99a930 remove deprecated .csprog 2021-12-03 17:22:45 +01:00
Mizux Seiha
5c3d2c95b0 Fix MultipleKnapsackSat 2021-12-02 09:39:12 +01:00
Corentin Le Molgat
1d48a794d4 Update MultipleKnapsack[Mip|Sat] 2021-12-02 09:38:53 +01:00
Mizux Seiha
628ea0465c python: sync multiple_knapsack samples 2021-12-01 16:04:53 +01:00
Mizux Seiha
d15847ec36 Bump csproj to 9.2 2021-11-30 18:13:26 +01:00
Corentin Le Molgat
e4da164368 sample: Rework MultipleKnapsack[Sat|Mip] 2021-11-30 18:02:46 +01:00
Mizux Seiha
6bcf4c6720 sat: Add missing include to nurses_sat.cc 2021-11-30 18:02:46 +01:00
Laurent Perron
c80b2c1154 [CP-SAT] add utilities to inspect the objective scaling, and get better back-scaling of the internal objective; fix a few corner bugs in presolve/postsolve/checker 2021-11-28 13:04:58 +01:00
Laurent Perron
cfeb2e49d7 [CP-SAT] Reservoir constraint uses affine expression for the time part; rename fields in the reservoir constraint 2021-11-25 14:53:05 +01:00
Mizux Seiha
28ca6eb5a4 Sync multiple_knapsack python samples 2021-11-25 00:19:30 +01:00
Laurent Perron
50e38f1750 [CP-SAT] accept affine expressions as argument of AllDiff 2021-11-23 21:38:20 +01:00
Corentin Le Molgat
b34db0dffc sat: Sync samples 2021-11-03 17:29:24 +01:00
Corentin Le Molgat
7d24710fcc sat: Add assignment_teams_sat.py 2021-11-03 13:00:40 +01:00
Corentin Le Molgat
0d3a928112 sat: Add assignment_task_sizes_sat.py 2021-11-03 13:00:28 +01:00
Corentin Le Molgat
6e15254e87 sat: Add assignment_groups_sat.py 2021-11-03 12:59:22 +01:00
Corentin Le Molgat
518c708cec sat: Sync sample 2021-11-03 12:58:52 +01:00
Corentin Le Molgat
bb73699ff5 sat: Polish samples 2021-10-22 09:19:25 +02:00
Corentin Le Molgat
eb0f319cd6 Sync github with google 2021-10-22 00:50:21 +02:00