Search Criteria
Package Details: python-or-tools 9.15-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: | 9 |
| Popularity: | 0.000583 |
| First Submitted: | 2017-07-11 23:45 (UTC) |
| Last Updated: | 2026-01-13 18:09 (UTC) |
Dependencies (22)
- abseil-cpp (abseil-cpp-gitAUR)
- coin-or-cbc
- coin-or-clp
- eigen (eigen-gitAUR, eigen3)
- glpk (glpk-gitAUR, glpk-cut-logAUR)
- pybind11 (pybind11-gitAUR)
- python-absl
- python-mypy-protobufAUR
- python-numpy (python-numpy-gitAUR, python-numpy-mkl-binAUR, python-numpy1AUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- re2 (re2-gitAUR)
- scip
- swig (swig-gitAUR)
- benchmark (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (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 »
fow0ryl commented on 2022-08-02 06:21 (UTC) (edited on 2022-08-02 06:23 (UTC) by fow0ryl)
Installed python-absl package to fulfil the dependencys. But building python-or-tools failed ...
[ 75%] Building CXX object ortools/glop/CMakeFiles/ortools_glop.dir/reduced_costs.cc.o [ 75%] Building CXX object ortools/graph/CMakeFiles/ortools_graph.dir/topologicalsorter.cc.o [ 76%] Building CXX object ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/glpk_interface.cc.o [ 76%] Building CXX object ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/gurobi_interface.cc.o [ 76%] Building CXX object ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/resource.cc.o [ 76%] Building CXX object ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/gurobi_proto_solver.cc.o In Datei, eingebunden von /tmp/trizen-henning/python-or-tools/src/or-tools-9.3/ortools/graph/topologicalsorter.h:67, von /tmp/trizen-henning/python-or-tools/src/or-tools-9.3/ortools/graph/topologicalsorter.cc:14: /tmp/trizen-henning/python-or-tools/src/or-tools-9.3/ortools/graph/topologicalsorter.h:80:8: Fehler: Standardattribute inmitten von Deklarationssymbolen 80 | inline ABSL_MUST_USE_RESULT bool DenseIntTopologicalSort( | ^~~~~~~~~~~~~~~~~~~~ /tmp/trizen-henning/python-or-tools/src/or-tools-9.3/ortools/graph/topologicalsorter.h:80:8: Anmerkung: Standardattribute müssen vor den Deklarationsspezifizierern stehen, um für die Deklaration zu gelten, oder ihnen folgen, um für den Typ zu gelten /tmp/trizen-henning/python-or-tools/src/or-tools-9.3/ortools/graph/topologicalsorter.h:85:8: Fehler: Standardattribute inmitten von Deklarationssymbolen 85 | inline ABSL_MUST_USE_RESULT bool DenseIntStableTopologicalSort( | ^~~~~~~~~~~~~~~~~~~~ /tmp/trizen-henning/python-or-tools/src/or-tools-9.3/ortools/graph/topologicalsorter.h:85:8: Anmerkung: Standardattribute müssen vor den Deklarationsspezifizierern stehen, um für die Deklaration zu gelten, oder ihnen folgen, um für den Typ zu gelten make[2]: *** [ortools/graph/CMakeFiles/ortools_graph.dir/build.make:230: ortools/graph/CMakeFiles/ortools_graph.dir/topologicalsorter.cc.o] Fehler 1 make[1]: *** [CMakeFiles/Makefile2:6741: ortools/graph/CMakeFiles/ortools_graph.dir/all] Fehler 2 make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet....fow0ryl commented on 2022-07-31 13:21 (UTC)
I cannot find the dependency: absl-py
Valicek1 commented on 2022-05-27 06:43 (UTC)
Hi, as arch has jumped from gcc 11 to gcc 12, or-tools are not able to get compiled. Here is patch for quick-fix:
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/METADATAand found dependencies onabsl-py&python-numpywhich have been added in ff45efd6fab7. Seems likepython-mypy-protobufis 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-protobufwhich 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-protobufto 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.
« First ‹ Previous 1 2 3 4 5 Next › Last »