Corentin Le Molgat
d148a3f34e
backport linear_solver/samples bazel fix from main
2024-09-18 11:57:40 +02:00
Corentin Le Molgat
8e1dece507
format fix
2024-09-18 11:56:23 +02:00
Laurent Perron
61696270ee
improve WriteMpsToFile
2024-08-02 19:58:41 +02:00
Alexander Ignatovich
54c34df00c
fix linear solver test output
2024-07-27 15:36:19 +02:00
Laurent Perron
30fe3c2e43
polish
2024-07-24 20:20:18 +02:00
Corentin Le Molgat
f019f1ad54
base: fix map_util and mathutil
2024-07-19 14:14:38 +02:00
Laurent Perron
147058296c
sync with main
2024-07-17 14:31:21 +02:00
Laurent Perron
32cdaa73f7
add WriteToMpsFile in model_builder, model_exporter
2024-07-12 17:45:41 +02:00
Corentin Le Molgat
22f931251c
indent fixup
2024-07-12 15:51:52 +02:00
Laurent Perron
21a75638c2
partial sync with main (without the routing part)
2024-07-12 13:56:11 +02:00
Daniel Junglas
b54f5d422a
Remove redundant rngind.
2024-05-30 10:52:46 +02:00
Daniel Junglas
2b399b0bbc
Remove redundant haveNames flag.
...
`MakeRhs()` always sets up `sense` and `rngval` correctly, so we can
just pass them to `XPRSaddcols()` and don't have to keep track whether
there are any ranged rows.
2024-05-30 10:52:46 +02:00
Daniel Junglas
86ea72510e
Remove redundant call to XPRSchgrhsrange().
...
`MakeRhs()` already sets up `sense` and `rngval` correctly, so there is
no need to patch/modify the range values afterwards.
2024-05-30 10:52:46 +02:00
Peter Mitri
8d024e87f9
[XPRESS] Extract variable & constraint names only before writing MPS + fix a test ( #4185 )
...
* Update XPRESS interface
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com >
* review comments
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com >
* revert bad commit
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com >
* disable MPS formatting in test
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com >
---------
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com >
2024-05-30 10:52:46 +02:00
Corentin Le Molgat
8509c728e2
cleanup
2024-05-30 10:52:45 +02:00
Laurent Perron
ead738883c
remove references to logtostderr
2024-05-30 10:52:45 +02:00
Corentin Le Molgat
8931e50f31
backport math_opt from main
2024-05-30 10:52:45 +02:00
Laurent Perron
2b7ddee138
fix comment
2024-05-30 10:52:44 +02:00
Laurent Perron
4cbd27dae9
sync with main
2024-05-30 10:52:42 +02:00
Laurent Perron
45ca1cb2bc
use lazy copy in linear solver
2024-05-30 10:51:55 +02:00
Laurent Perron
0ec48be40c
improve model_builder python
2024-05-30 10:51:55 +02:00
Laurent Perron
bf2471515f
cleanup semantics of under-specified constraint in model_builder python
2024-05-30 10:51:55 +02:00
Laurent Perron
2d92deebea
tweaks
2024-05-30 10:51:55 +02:00
Laurent Perron
ee2e20ce4d
reformat
2024-05-30 10:51:55 +02:00
Corentin Le Molgat
7bd7a29e51
linear_solver: remove dead code
2024-05-30 10:51:54 +02:00
Corentin Le Molgat
c9b1ad998a
backport linear_solver, math_opt, pdlp and util from main
2024-05-30 10:51:54 +02:00
Florian OMNES
f88f748635
Use fixtures for XPRESS tests, instead of C-style macros
...
Instead of macros, use fixtures for XPRESS tests
2024-05-30 10:51:54 +02:00
Corentin Le Molgat
a42f11a32f
cmake: fix linear_solver/solve
2024-03-04 15:34:41 +01:00
Corentin Le Molgat
a1e9e68561
linear_solver: fix cmake install of solve executable
2024-03-04 14:22:41 +01:00
Corentin Le Molgat
8907ee695e
Move proto_solver deps to be guarded by select().
2024-02-23 09:14:28 +01:00
Corentin Le Molgat
6685283202
Select appropriate deps and defines for scip_proto_solver based on scip config.
2024-02-23 08:27:43 +01:00
Corentin Le Molgat
435e910181
Make lpi_glop a dep only if scip is used.
2024-02-23 08:23:38 +01:00
Mizux Seiha
05aa100b90
cmake: Fix configure when BUILD_TESTING=OFF
2024-02-22 12:00:26 +01:00
Corentin Le Molgat
e767aee6f4
Update bazel build to use scip-related headers only when scip is used.
2024-02-22 11:54:26 +01:00
Mizux Seiha
52245b251d
cmake: Fix eigen usage
2024-02-09 01:00:02 +01:00
Laurent Perron
0aa44e7479
protect code for MIP solvers
2024-02-02 14:29:03 +01:00
Laurent Perron
fb501409eb
fix lp_test.py in debug
2024-01-31 15:18:13 +01:00
Corentin Le Molgat
bf565d143a
linear_solver: include fixup
2024-01-29 15:10:53 +01:00
Laurent Perron
15ff80825f
minor automatic code update
2024-01-23 14:15:12 +01:00
Corentin Le Molgat
7050ad3fc9
cmake: rework java helper functions
2024-01-18 11:22:38 +01:00
Corentin Le Molgat
dd6da5bf0f
cmake: rework dotnet helper functions
2024-01-18 11:22:38 +01:00
Corentin Le Molgat
21fd586d32
cmake: rework add_python_sample()
2024-01-16 15:14:34 +01:00
Corentin Le Molgat
835d93025f
cmake: Rework add_cxx_sample()
...
* Add mandatory FILE_NAME option
* Add COMPONENT_NAME option
2024-01-16 11:27:01 +01:00
Corentin Le Molgat
75f197409a
cmake: rework add_python_test()
...
* Add FILE_NAME option
* add optional COMPONENT_NAME option
note: needed if test.py is not in a ortools/<component>/python/ dir
2024-01-15 13:33:49 +01:00
Corentin Le Molgat
7d6cbe2d34
linear_solver: export from google3
2024-01-08 18:03:08 +01:00
Laurent Perron
48ccc03eef
minor fixes
2024-01-08 10:52:51 +01:00
Mizux Seiha
a76bf1c5dd
bump license boilerplate
2024-01-04 13:43:15 +01:00
Corentin Le Molgat
3a6819c5a6
Fix clang-format
2024-01-03 10:14:31 +01:00
Corentin Le Molgat
bef205a9dd
cleanup
2023-12-26 17:17:01 +01:00
Andrea Sgattoni
46ffc703e2
improve perf and fix error
2023-12-22 16:24:17 +01:00