Search Criteria
Package Details: python-or-tools 9.12-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-or-tools.git (read-only, click to copy) |
---|---|
Package Base: | python-or-tools |
Description: | Google's Operations Research tools |
Upstream URL: | https://github.com/google/or-tools |
Keywords: | or-tools ortools |
Licenses: | Apache-2.0 |
Submitter: | dariost |
Maintainer: | carlosal1015 |
Last Packager: | carlosal1015 |
Votes: | 8 |
Popularity: | 0.030131 |
First Submitted: | 2017-07-11 23:45 (UTC) |
Last Updated: | 2025-03-27 14:53 (UTC) |
Dependencies (22)
- abseil-cpp (abseil-cpp-gitAUR)
- coin-or-cbc
- coin-or-clp
- eigen (eigen-gitAUR)
- glpk (glpk-gitAUR, glpk-cut-logAUR)
- pybind11 (pybind11-gitAUR)
- python-absl
- python-mypy-protobufAUR
- python-numpy (python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- re2 (re2-gitAUR)
- scip
- swig (swig-gitAUR)
- benchmark (make)
- cmake (cmake-gitAUR, cmake3AUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- python-installer (make)
- python-setuptools (make)
- python-virtualenv (make)
- python-wheel (make)
- cplexAUR (optional) – CPLEX solver support
- Show 2 more dependencies...
Latest Comments
« First ‹ Previous 1 2 3 4 5 Next › Last »
marcelom87 commented on 2022-03-31 18:50 (UTC)
Hi guys - I have received a bug when using python-or-tools 9.3-1, after trying to execute the bin-packing problem example in: https://developers.google.com/optimization/cp/channeling . When executing the lines:
I received:
/usr/include/c++/11.2.0/bits/stl_vector.h:1063: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator const [with _Tp = operations_research::sat::Literal; _Alloc = std::allocator<operations_research::sat::Literal>; std::vector<_Tp, _Alloc>::const_reference = const operations_research::sat::Literal&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed. [Finished in 0.5s with exit code -6]
My arch is updated and my Python is the 3.10.4 .
sameer commented on 2022-01-15 17:04 (UTC) (edited on 2022-01-15 17:05 (UTC) by sameer)
I checked
ortools-9.2.9999.dist-info/METADATA
and found dependencies onabsl-py
&python-numpy
which have been added in ff45efd6fab7. Seems likepython-mypy-protobuf
is needed as makedepends so I've added that in 9507eb4a61fd. Pandas + matplotlib only seem to be necessary to run examples so I've added them as optdepends in abedd03e0e11.kruzah commented on 2022-01-15 13:48 (UTC) (edited on 2022-01-15 13:49 (UTC) by kruzah)
My build failed with a make error. In my case it was just
python-mypy-protobuf
which was missing:fow0ryl commented on 2022-01-15 11:38 (UTC) (edited on 2022-01-15 11:38 (UTC) by fow0ryl)
New version 9.2-1 build is working fine for me now. Did not have the packages installed which are named as dependency by @kruzah .... Only python-numpy was installed (as dependency of cura)
kruzah commented on 2022-01-15 11:21 (UTC)
Build misses several dependencies that cause the package to fail to build. Please add dependencies
python-numpy
,python-pandas
,absl-py
, andpython-mypy-protobuf
to PKGBUILD (I'm unsure which of these are runtime deps and which are make-only). Sourced from heresameer commented on 2022-01-14 18:29 (UTC)
Hey all, sorry for the delay. This is fixed in 0ef1baa82d54.
Seems like the makefile method originally used no longer works, so the PKGBUILD now uses cmake directly as outlined here: https://github.com/google/or-tools/blob/stable/cmake/README.md
Let me know if you run into any other issues.
ericfont commented on 2022-01-12 19:49 (UTC)
I'm getting "ERROR: A failure occured in build(). Aborting..." on 9.2-1, but I don't know why cause my terminal screen doesn't go back enough.
fow0ryl commented on 2021-12-30 12:17 (UTC) (edited on 2021-12-30 12:19 (UTC) by fow0ryl)
version 9.2 did not build ...
got tons of errors:
and finaly:
firoz commented on 2021-10-14 13:43 (UTC)
The package() step fails for me: pip [..] → no such option: --root
nobodyinperson commented on 2021-04-10 12:11 (UTC) (edited on 2021-04-10 14:02 (UTC) by nobodyinperson)
For those struggling to build
python-or-tools
on aarch64, here are the required changes for the PKGBUILD (at least for v8.2...):Further info: https://github.com/google/or-tools/issues/2434#issuecomment-817126196
« First ‹ Previous 1 2 3 4 5 Next › Last »