Commit Graph

102 Commits

Author SHA1 Message Date
Laurent Perron
dfdf042f6b mostly include/refactor 2023-04-21 12:46:19 +02:00
Corentin Le Molgat
f30fe5414d update linear_solver 2023-04-05 10:36:55 +02:00
Mizux Seiha
2de7d6fbac bazel: Fix build 2023-04-03 11:06:28 +02:00
Laurent Perron
13fae89e88 fix for SCIP=OFF 2023-03-15 15:42:20 +01:00
Mizux Seiha
175c3ab8ee bazel: Fix linear_solver/python 2023-03-07 13:50:40 +01:00
Laurent Perron
471a45dd55 tweaks 2023-03-05 08:18:45 +01:00
Laurent Perron
c957fd9798 add activity query for model_builder 2023-03-03 12:12:37 +04:00
Laurent Perron
39829e7b4c tweak numpy code 2023-03-02 17:04:13 +04:00
Laurent Perron
66184646fb [ModelBuilder] Polish numpy code 2023-03-02 12:03:28 +04:00
Laurent Perron
ed006ad70b [ModelBuilder] Polish numpy code 2023-02-28 22:47:12 +04:00
Laurent Perron
f496dcbb17 [ModelBuilder] minor typing addition 2023-02-28 12:30:46 +04:00
Laurent Perron
d0f6b6db74 add typing info to model_builder/python; add numpy variable support; update samples 2023-02-28 10:55:51 +04:00
Corentin Le Molgat
41d60ad520 cmake: Fix SWIG build
Still need to define ABSL_MUST_USE_RESULT= even with swig 4.1.1
2023-02-06 08:47:46 +01:00
Corentin Le Molgat
9054f13f95 cmake: remove ABSL_MUST_USE_RESULT for swig
should be fixed with absl upstream + swig 4.1 now support attibute
2023-02-06 08:47:46 +01:00
Laurent Perron
d0440aebe0 fix 2023-02-01 17:44:04 +01:00
Laurent Perron
71dde046fa cleanup 2023-01-25 15:24:54 +01:00
Laurent Perron
81f3fa0458 run model_builder python tests, rearrange linear solver testdata 2023-01-19 16:09:45 +01:00
Laurent Perron
5a3b2f3044 Merge branch 'main' of github.com:google/or-tools 2023-01-16 13:27:09 +01:00
Laurent Perron
1a9921587b typo 2023-01-16 13:25:46 +01:00
Laurent Perron
77c869052f Merge pull request #3636 from ajschumacher/stable
typo: "Not an number" -> "Not a number"
2023-01-14 22:33:49 +01:00
Aaron Schumacher
8b68199e8b typo: "Not an number" -> "Not a number" 2023-01-14 14:47:29 -05:00
Laurent Perron
542ec76a8a fix #3614 2023-01-04 08:19:04 +01:00
Laurent Perron
1f8a0a7770 Add version string to sat/glop; export MPSolver::SolverVersion() in python/java/C# 2022-12-20 11:54:29 +01:00
Laurent Perron
44537edddd try to fix lp_test_api.py 2022-11-12 12:04:50 +01:00
Corentin Le Molgat
ecd2afe4bb swig: Fix python build when using swig 4.1.0 2022-11-07 15:31:47 +01:00
Laurent Perron
d4d10c0e5c python example to solve a mps file 2022-10-11 13:36:35 +02:00
Corentin Le Molgat
261ce61ae1 python: fixup 2022-10-10 13:44:12 +02:00
Corentin Le Molgat
1b011d076c export from google3 2022-10-10 13:44:12 +02:00
Corentin Le Molgat
aad0e67975 export from google3 2022-10-05 15:56:33 +02:00
Laurent Perron
4fcef6ee8f add minimal highs interface 2022-10-03 14:25:58 +02:00
Laurent Perron
f39efd5ac8 fix, reindent, add tests 2022-09-27 18:00:48 +02:00
Corentin Le Molgat
899e30d88b cmake: Fix python build
* fix cmake/python.cmake
* fix <cmp>/python/CMakeLists.txt
* fix examples/tests/CMakeLists.txt
2022-09-22 22:39:55 +02:00
Corentin Le Molgat
7a401969c0 move examples/test/*.py to ortools/<component>/python 2022-09-22 13:54:16 +02:00
Laurent Perron
1d0639f660 fix 2022-09-12 13:30:14 +02:00
Laurent Perron
e30f4ef3e3 commit message 2022-09-12 13:24:02 +02:00
Laurent Perron
9c8c2ba602 fix model_builder 2022-09-12 13:21:53 +02:00
Corentin Le Molgat
1e73e887dc bazel: Add missing linear_solver/python/BUILD.bazel 2022-09-12 12:18:53 +02:00
Laurent Perron
81b31ff24b Move model_builder under linear_solver 2022-09-12 11:28:52 +02:00
Corentin Le Molgat
4c74636bf8 linear_solver: Add missing solve status 2022-06-29 13:45:40 +02:00
Corentin Le Molgat
1af55b2be3 Add license boilerplate 2022-06-21 11:25:29 +02:00
Corentin Le Molgat
c7120439d4 Bump license date 2022-06-17 14:23:23 +02:00
StefanBruens
9021ffbb95 Build Python modules as CMake MODULEs (#3259)
Python since 3.8 no longer links to the interpreter library, so
symbols like `PyExc_AttributeError` will be undefined at link time.

This causes build failures when shared libraries are linked with
`-Wl,--no-undefined`. Use `TYPE MODULE` for python extension modules,
which allows to specify distinct flags via CMAKE_MODULE_LINKER_FLAGS
vs CMAKE_SHARED_LINKER_FLAGS. (The same is already used by
`pybind11_add_module(... MODULE ...)`).

Fixes #3258.
2022-04-28 15:50:56 +02:00
Corentin Le Molgat
1eba970bf3 Update pdlp 2022-03-02 22:10:54 +01:00
Mizux Seiha
32b101b9ee cmake: Fixup for pdlp 2022-02-25 23:43:01 +01:00
Laurent Perron
ce02461741 wrap MPModelRequest in python 2022-01-02 10:30:57 +01:00
Mizux Seiha
655eec5260 cmake: rework python 2021-12-03 14:20:19 +01:00
Laurent Perron
9fefaadfaf [LP] change default tolerance on verify solution; add missing base include 2021-11-28 13:01:55 +01:00
Laurent Perron
475880c6c7 show load model errors in python linear solver 2021-10-12 10:51:42 +02:00
Laurent Perron
778b1b3854 [MPSolver] Add better code to interrupt solve; rewrite thread management code when using the CP-SAT solver backend 2021-09-23 14:30:01 +02:00
Laurent Perron
6a84a52d9e switch from pdoc3 to pdoc 2021-09-20 15:23:45 +02:00