Package Details: java-gurobi 12.0.2-2

Git Clone URL: https://aur.archlinux.org/gurobi.git (read-only, click to copy)
Package Base: gurobi
Description: State-of-the-art solver for mathematical programming (Java bindings)
Upstream URL: https://www.gurobi.com/products/gurobi-optimizer
Licenses: custom:Gurobi EULA
Submitter: marcosmrai
Maintainer: marcosmrai (libklein)
Last Packager: libklein
Votes: 9
Popularity: 0.49
First Submitted: 2016-08-10 19:35 (UTC)
Last Updated: 2025-07-05 18:31 (UTC)

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

1 2 3 Next › Last »

vitaliikuzhdin commented on 2025-07-05 14:56 (UTC)

@libklein, looks like my GitHub account got deleted... Here is the new paste: https://pastebin.com/8YVimzjh

libklein commented on 2025-07-05 12:16 (UTC)

Thanks @vitaliikuzhdin for your changes! I unfortunately do not own the package and cannot make you co-maintainer :/. The gist you've pasted is not accessible anymore, would you mind re-uploading it? I'd like to merge the changes.

vitaliikuzhdin commented on 2025-05-24 14:49 (UTC)

I've gone ahead and rewritten the PKGBUILD. A few notes:

  1. The package now supports aarch64.
  2. It now builds libgurobi_c++.a (also known as libgurobi_g++8.5.a) from source.
  3. Java and R bindings have been split into separate packages: java-gurobi and r-gurobi, respectively.
  4. Since the aarch64 release does not support MATLAB bindings, I moved them into a separate package: matlab-gurobi.
  5. .NET bindings should also be installed as a separate package (or installed at all), but I don't yet know how to do that.

https://gist.github.com/vitaliikuzhdin/518259743348ef6a7bdf47e63c2af07f

vitaliikuzhdin commented on 2025-05-13 10:48 (UTC)

Would you mind adding support for the aarch64 architecture? The source link is: https://packages.gurobi.com/12.0/gurobi12.0.2_armlinux64.tar.gz. Thanks!

libklein commented on 2025-01-29 22:01 (UTC)

I have updated the gurobi version to 12.0.1. I've also removed the now obsolete python installation. Please install python-gurobipy (as per opt. dependencies) to use the gurobi python API.

vitaliikuzhdin commented on 2024-12-30 12:03 (UTC)

@lihe07, I have uploaded python-gurobipy to AUR.

lihe07 commented on 2024-03-24 05:18 (UTC) (edited on 2024-03-24 05:18 (UTC) by lihe07)

It seems like for gurobi11, users need to manually install gurobipy by pip. (pip install --break gurobipy)

Currently there is no python-gurobipy in arch package index.

LCarmi commented on 2023-12-15 16:10 (UTC) (edited on 2023-12-15 16:10 (UTC) by LCarmi)

Some of my c++ builds are failing due to the error /usr/bin/ld: cannot find -lgurobi_c++: No such file or directory

Investigating further, I found that the /usr/lib/libgurobi_c++.a symlink is faulty. Substituting in the PKGBUILD the command ln -sf ./libgurobi_g++5.2.a "${pkgdir}/usr/lib/libgurobi_c++.a" with ln -sf ./libgurobi_g++8.5.a "${pkgdir}/usr/lib/libgurobi_c++.a" fixes the issue.

Thanks for supporting the package!

Viech commented on 2021-01-27 14:40 (UTC)

Thank you for removing the hard dependency. Note though that by running "python setup.py install" you'll only get the Python 3 bindings, even if Python 2 is installed on the system. (Unless the system has not been updated in the last couple of years such that python = python2.) Thus it should be safe to remove also the optional dependency.

libklein commented on 2021-01-23 22:24 (UTC)

Python2 is not a hard dependency. I've made it optional.