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
Mizux Seiha
c7441c346c
cmake: Migrate to Python3 and use Development.Module
...
note: Development.Module is use to look for python header only
since library is not available on manylinux.
see: https://gitlab.kitware.com/cmake/cmake/-/issues/20425
note2: Development.Module has been introduced in CMake 3.18
ref: https://cmake.org/cmake/help/latest/module/FindPython3.html
2021-09-08 16:08:52 +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
Corentin Le Molgat
9662b630d6
python: Fix linear_solver.i wrapper
2021-04-01 16:39:12 +02:00
Laurent Perron
3779db1f83
deep rewrite of the gurobi loading code
2021-03-19 16:24:35 +01:00
Laurent Perron
6e15467065
linear solver: int64 -> int64_t; use new CP-SAT logging
2021-03-12 16:59:39 +01:00
Laurent Perron
c55f00b7ed
improve StopSearch() robustness
2021-01-08 09:48:52 +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
Mizux Seiha
dbb878aa36
python: Fix LoadSolutionFromProto leak ( Fix #2190 )
2020-10-08 13:51:47 +02:00
Laurent Perron
23aeaf6072
fix #2094
2020-07-06 11:53:52 +02:00
Laurent Perron
f0f675debd
remove non C++ leaks with the linear solver
2020-06-25 11:15:19 +02:00
Laurent Perron
a8fc48e1fd
polish linear solver backend selection code
2020-06-25 10:32:58 +02:00
Laurent Perron
d6ecea46ad
experimental support for dynamic loading of gurobi; add MPSolver.CreateSolver() factory method for non C++ languages to check correctly installed linear solver backends and licenses when needed; port all non C++ examples
2020-06-24 18:11:12 +02:00
Mizux Seiha
90a3155af1
cmake(python): Fix module update
2020-05-20 18:46:57 +02:00
Mizux Seiha
775aec03dd
cmake(python): Refactor
...
* Use new Python module
* Use setup.py.in input file (should fix windows error)
2020-05-20 10:13:14 +02:00