Laurent Perron
|
7a46833a12
|
fix #3283: implement clear objective method in CP-SAT
|
2022-05-07 10:37:29 +02:00 |
|
bollhals
|
823840fd5b
|
fix review comment
|
2022-01-25 22:54:43 +01:00 |
|
bollhals
|
fd67eabfdd
|
improve GetVarValueMap
|
2022-01-25 01:16:38 +01:00 |
|
Laurent Perron
|
3bb0aa6b32
|
[CP-SAT] misc work, improve no_overlap_2d propagation and cuts
|
2022-01-19 19:38:20 +01:00 |
|
Laurent Perron
|
a425d6ab8e
|
use model queue for expression getvarvaluemap
|
2022-01-17 11:44:54 +01:00 |
|
Laurent Perron
|
ef0e93637d
|
reformat c# code
|
2022-01-16 17:37:42 +01:00 |
|
Laurent Perron
|
92dbda65c6
|
polish C# doc
|
2022-01-16 17:36:07 +01:00 |
|
Laurent Perron
|
130406df94
|
work on C# docs
|
2022-01-16 10:51:32 +01:00 |
|
Laurent Perron
|
dd28909258
|
polish c# doc
|
2022-01-16 10:12:53 +01:00 |
|
Laurent Perron
|
563aa74e8b
|
Merge branch 'master' into dotnet_preset_size
|
2022-01-16 09:18:39 +01:00 |
|
Laurent Perron
|
cdcc46e2db
|
reindent cs
|
2022-01-16 09:16:36 +01:00 |
|
Laurent Perron
|
ff47d38a5b
|
[CP-SAT] reindent C# code; add documentation to CpModel.cs and Constraints.cs
|
2022-01-15 22:43:59 +01:00 |
|
bollhals
|
1eb93136dd
|
set capacity before adding if size is known
|
2022-01-14 23:21:02 +01:00 |
|
bollhals
|
b1bfb2e641
|
C#
- use var in is type check
- seal classes that have no derived class
- simplify AddOrIncrement function
|
2022-01-13 01:22:02 +01:00 |
|
bollhals
|
e2054b3cb5
|
- only use domain object if really needed
- upgrade to C# 9
- replace some null checks with "is (not) null"
|
2022-01-12 21:54:53 +01:00 |
|
Laurent Perron
|
5d3ccd2881
|
[CP-SAT] Tweak C# linear API
|
2022-01-12 11:12:03 +01:00 |
|
Laurent Perron
|
e25b39a3d1
|
[CP-SAT] optimize C# modeling layer
|
2022-01-12 10:32:17 +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
|
4d1eee929b
|
fix
|
2022-01-10 21:24:41 +01:00 |
|
Laurent Perron
|
f82a67375d
|
Rewrite LinearExpression part in CP-SAT C# interface
|
2022-01-10 13:38:27 +01:00 |
|
Laurent Perron
|
d6878fdc05
|
[CP-SAT] speedup bool_var creation
|
2022-01-08 15:09:25 +01:00 |
|
Laurent Perron
|
da153ce40d
|
[CP-SAT] speedup simple int_var creation
|
2022-01-08 14:26:18 +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
|
b9cd938c16
|
[CP-SAT] add AddAtLeastOne/AtMostOne/ExactlyOne API in all languages
|
2021-12-31 11:12:22 +01:00 |
|
Laurent Perron
|
6ae332569b
|
natural API for Cp_SAT C++
|
2021-12-09 15:29:49 +01:00 |
|
Laurent Perron
|
7e74268ded
|
[CP-SAT] another overflow fix; remove AddLinMin/Max in favor of AddMin/Max
|
2021-12-08 15:26:17 +01:00 |
|
Laurent Perron
|
43a9dcc18a
|
remove log; fix C#
|
2021-11-26 21:39:47 +01:00 |
|
Laurent Perron
|
970703abc0
|
fix #2924
|
2021-11-25 15:02:03 +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 |
|
Laurent Perron
|
50e38f1750
|
[CP-SAT] accept affine expressions as argument of AllDiff
|
2021-11-23 21:38:20 +01:00 |
|
Laurent Perron
|
aea9f8a6d0
|
fix
|
2021-11-13 08:54:48 +01:00 |
|
Laurent Perron
|
9eefe4c49a
|
fix
|
2021-11-13 08:53:37 +01:00 |
|
Laurent Perron
|
3c591609bf
|
[CP-SAT] change primal integral to gap integral; change arguments of product, division, modulo to be affine expression instead of variables
|
2021-11-13 08:38:21 +01:00 |
|
Laurent Perron
|
61a8fefb64
|
fix
|
2021-10-20 20:13:35 +02:00 |
|
Laurent Perron
|
6167340f8e
|
improve MIP->CP-SAT translator; mark old interval API as deprecated; improve presolve of affine relations
|
2021-10-07 17:34:53 +02:00 |
|
Laurent Perron
|
ef59381229
|
[CP-SAT] Enable linear expressions in AddMinEquality/AddAbsEquality/AddMaxEquality, and/or add AddLinMinEquality/AddLinMaxEquality; detect more encoding and remove variables only used in encodings
|
2021-10-05 17:20:38 +02:00 |
|
Corentin Le Molgat
|
f9843927f3
|
dotnet: fix CpModel.cs
|
2021-09-10 18:15:38 +02:00 |
|
Laurent Perron
|
8f5bfbc252
|
[CP-SAT] Fix performance bug on product/square cuts; polish new interval code
|
2021-09-10 15:11:11 +02:00 |
|
Laurent Perron
|
8aa13ac64a
|
[CP-SAT] revamp interval APIs
|
2021-09-08 21:19:57 +02:00 |
|
Mizux Seiha
|
8bb54b04ef
|
Bump Copyright to 2021
FYI:
find ortools \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/\(Copyright 2010\)-2018/\1-2021/g'
|
2021-04-01 21:00:53 +02:00 |
|
Laurent Perron
|
4d1b9d227f
|
capture CP-SAT log in python/java/.NET; visual tweak of the log; tweak the logging facilities for CP-SAT
|
2021-03-11 21:07:17 +01:00 |
|
Laurent Perron
|
1f8e2bb346
|
fix #2394
|
2021-02-13 15:50:57 +01:00 |
|
Laurent Perron
|
42528b1e8e
|
fix #2394
|
2021-02-13 15:49:15 +01:00 |
|
Xiang Chen
|
2d5cd894c7
|
Add ClearHints() and ClearAssumptions()
|
2021-02-05 11:21:57 +01:00 |
|
Xiang Chen
|
b34ceefb86
|
Wrap CP-SAT assumptions
|
2021-02-04 23:53:50 +01:00 |
|
Corentin Le Molgat
|
a9385fc3d2
|
Format all .Net using Microsoft style
|
2020-11-03 10:15:53 +01:00 |
|
Corentin Le Molgat
|
b5e70663c7
|
Format using clang-format 11
|
2020-10-29 14:26:41 +01:00 |
|
Mizux Seiha
|
335cf3df3d
|
format all C# files
|
2020-10-26 18:41:49 +01:00 |
|
Laurent Perron
|
bcb7b3073d
|
large synchro with internal code: linear solver: introduce intermediate SCIP layer called gscip; sat: more work on slow propagation detection; base: remove statusor, use abseil version; constraint solver: more work on internal local search
|
2020-10-18 16:38:25 +02:00 |
|
Laurent Perron
|
d123dfadf6
|
add CpModel::ExportToFile for CP-SAT in all non C++ languages
|
2020-10-08 14:32:57 +02:00 |
|