Search Criteria
Package Details: python-or-tools 9.11-4
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.50 |
First Submitted: | 2017-07-11 23:45 (UTC) |
Last Updated: | 2024-10-05 19:24 (UTC) |
Dependencies (21)
- 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-flameAUR, python-numpy-mkl-binAUR, python-numpy-gitAUR, python-numpy1AUR, python-numpy-mklAUR, python-numpy-mkl-tbbAUR)
- re2 (re2-gitAUR)
- scip
- swig (swig-gitAUR)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- python-installer (python-installer-gitAUR) (make)
- python-setuptools (make)
- python-virtualenv (make)
- python-wheel (make)
- cplexAUR (optional) – CPLEX solver support
- python-matplotlib (python-matplotlib-gitAUR) (optional) – used by some examples
- python-pandas (optional) – used by some examples
Latest Comments
« First ‹ Previous 1 2 3 4 5 Next › Last »
XZS commented on 2023-08-29 19:28 (UTC)
Thank you for the update. Unfortunately, building already fails again for me, even in a clean chroot. I suspect the relevant part of the error message to be the following/
I cut out a long list of what seems to be functions from absl here.
I already tried to downgrade absl and protobuf, to no avail.
brolin commented on 2023-08-08 01:25 (UTC)
sudo pacman -S python-virtualenv
solves the error
philo commented on 2022-08-18 15:54 (UTC)
Nobody can offer a solution to the issue raised by the previous commentator ? Would version 9.4 solve it ?
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/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:« First ‹ Previous 1 2 3 4 5 Next › Last »