Commit Graph

681 Commits

Author SHA1 Message Date
Laurent Perron
72f274f844 Change proto to/from file API to use absl::StatusOr; add reader/writer proto_file to model_builder 2023-11-20 16:13:03 +01:00
Corentin Le Molgat
dd57344ef2 linear_solver: python cleanup 2023-11-20 10:37:51 +01:00
Laurent Perron
b5f749b794 add import/export with proto on model_builder; add support for proto in solve_model.py 2023-11-19 07:22:44 +01:00
Laurent Perron
1637098867 fix 2023-11-17 14:53:17 +01:00
Laurent Perron
0ccc07f288 add glop_proto_solver; split bazel targets for proto_solver 2023-11-17 14:17:52 +01:00
Laurent Perron
553ef23f2d revert mpl2 commit 2023-11-09 13:46:17 +01:00
Laurent Perron
38dff7fbeb add #define EIGEN_MPL2_ONLY everywhere, fix #3979 2023-11-09 11:33:38 +01:00
Laurent Perron
f7f79cd404 improve typing 2023-11-07 14:07:43 +01:00
Laurent Perron
330a4d9508 polish 2023-11-06 18:08:34 +01:00
Laurent Perron
7bdde984aa model_builder python: ModelBuilder -> Model, ModelSolver -> Solver; fix bug in enforced linear support; tweak wrappers: 2023-11-06 16:16:38 +01:00
Laurent Perron
fcd64e6b97 polish on model_builder code 2023-11-06 15:20:03 +01:00
Laurent Perron
143785cddb More fixes 2023-11-05 21:43:11 +01:00
Laurent Perron
5fa6f76cab ModelBuilder C# class -> Model, ModelSolver c# class -> Solver to avoir name conflict between the class and the namespace 2023-11-05 19:18:48 +01:00
Laurent Perron
686b530f10 [ModelBuilder] Add clear_terms and set_coefficient everywhere; finish indicator constraints in C# 2023-11-05 14:40:40 +01:00
Laurent Perron
ce9f1ed6d2 model builder: add clear_terms API; add enforced linear constraint in java + minimal test 2023-11-05 12:41:22 +01:00
Laurent Perron
1a610bd7ef additional work on indicator constraints in model_builder python 2023-11-05 10:06:20 +01:00
Laurent Perron
8fc323ed9e add indicator constraints to model_builder python 2023-11-05 09:51:40 +01:00
Laurent Perron
9d9ca5ccaf add hinting support for model_builder 2023-11-04 20:58:00 +01:00
Laurent Perron
56464545db uncomment method in model_solver C# 2023-11-04 19:40:58 +01:00
Laurent Perron
d229e48c88 polish model_builder code and samples; tweak C# wrapping code 2023-11-03 15:09:13 +01:00
Laurent Perron
f8e8f25522 polish all java and C# ModelBuilder samples 2023-11-02 12:06:04 +01:00
Laurent Perron
58d77a4ae9 Add new model_builder C# samples 2023-11-02 10:03:55 +01:00
Laurent Perron
915cacf963 new model_builder C# sample 2023-11-02 04:24:38 +01:00
Laurent Perron
983631dddb new model_builder C# sample 2023-11-02 04:11:45 +01:00
Laurent Perron
c0f2ce22a3 LogCallback -> MbLogCallback 2023-11-01 21:53:36 +01:00
Laurent Perron
a4a47043d4 update 2023-11-01 09:36:52 +01:00
Laurent Perron
2b3a7a3d4d Update 2023-11-01 09:33:02 +01:00
Laurent Perron
07d3a2aca6 add nearly finished ModelSolver C# class 2023-10-31 22:52:49 +01:00
Laurent Perron
183bff771e add ModelBuilder class in C# 2023-10-31 22:02:17 +01:00
Laurent Perron
a4debe4cb0 Merge branch 'main' of github.com:google/or-tools 2023-10-31 12:38:53 +01:00
Laurent Perron
fd55458966 more work on modelbuilder C#; fix doc on modelbuilder java 2023-10-31 12:38:42 +01:00
Corentin Le Molgat
3d41e4f748 linear_solver: Export from google3 2023-10-31 12:34:34 +01:00
Laurent Perron
afbca7604d cleanup c# swig: move vector calling to client .i, import vector.i instead of include; begin support for c# model_builder 2023-10-30 21:51:08 +01:00
Laurent Perron
f5c865d6ab tweak model_builder java cloning API 2023-10-25 15:38:57 +02:00
Corentin Le Molgat
7c308c7b09 linear_solver: Cleanup python samples 2023-10-25 13:57:55 +02:00
Laurent Perron
86a8444709 Add ModelBuilder.clone() java API + sample 2023-10-24 14:50:13 +02:00
Laurent Perron
9939e9d074 polish 2023-10-24 13:33:46 +02:00
Laurent Perron
d86dfadc86 add model cloning to model_builder python + sample 2023-10-24 11:44:43 +02:00
Laurent Perron
d0eb8dd3d8 cleanups 2023-10-16 15:36:24 +02:00
Laurent Perron
9702ee7db8 remove internal urls 2023-10-16 09:07:56 +02:00
Corentin Le Molgat
69874c9b26 fixup from google3 2023-10-09 15:07:30 +02:00
Laurent Perron
81cd6ebd39 small cleanups 2023-09-28 14:27:37 +02:00
Mizux Seiha
d8634ab0f2 cmake: Split math_opt into sub library
XCode do not support object library with several file with the same name
since it use a flat directory, Xcode "fix" using a UID but CMake can't catch it.

math_opt also use a parameters.proto which conflict with the
glop/parameters.proto -> need to split the proto to .cc generation in
two libraries
2023-09-25 10:46:02 +02:00
Corentin Le Molgat
3a5008601a linear_solver: Add model_exporter_main.cc 2023-09-25 10:45:58 +02:00
Laurent Perron
d73f53397a std::string -> absl::string_view 2023-09-23 10:16:23 +02:00
Corentin Le Molgat
e27c083991 cmake: fix proto_solver when disabling various solvers 2023-09-08 18:05:49 +02:00
Laurent Perron
6c0ee38fcb remove obsolete macro 2023-08-30 10:04:47 -04:00
Laurent Perron
e4db823952 more include cleaning 2023-08-25 03:51:16 +02:00
Laurent Perron
af879c6d17 big cleanup of includes 2023-08-24 17:14:58 +02:00
Laurent Perron
fa6883d544 mostly cleaning: remove integral_types.h and basictypes.h 2023-08-24 14:52:54 +02:00