Package Details: cplex 20.10-1

Git Clone URL: (read-only, click to copy)
Package Base: cplex
Description: A commercial solver for mathematical optimization problems.
Upstream URL:
Licenses: custom
Submitter: Viech
Maintainer: Viech (alberto-santini)
Last Packager: Viech
Votes: 3
Popularity: 0.000074
First Submitted: 2017-10-24 11:46
Last Updated: 2021-04-26 08:58

Latest Comments

1 2 Next › Last »

Viech commented on 2021-04-26 09:00

I've updated to 20.10 but I've commented out Python support as Python 3.9 is not supported yet.

Viech commented on 2021-04-21 13:35

I missed the release of CPLEX 20.1 in December (yes they jumped from 12.10 to 20.1) but from the changelog it looks like they still only support Python 3.8… (At least they finally support that!)

pirofti commented on 2021-04-21 13:29

Is this not working with Python 3.9?

carlosal1015 commented on 2020-07-21 20:24

It works :-), thanks @Viech.

fifr commented on 2020-01-28 15:02

@Viech: sure, I meant without messing around with the pkgbuild ;)

Viech commented on 2020-01-28 13:58

That should be easy: Just remove makedepends, optdepends, _pythonver and the "Install Python bindings." section.

fifr commented on 2020-01-28 13:56

@Viech: actually, I'm one of those who prefer to not install any python bindings at all ... is this easily possible with the current package?

Or maybe there should be two packages?

Viech commented on 2020-01-28 13:49

I tried myself to get it to work with Python 3.8 by patching the setup scripts, but CPLEX strongly refuses to run with it. If you urge me to I can implement @fifr's solution but I'm not sure if this is what many users want; some of you might prefer to not install any Python bindings at all instead. And maybe 12.11 shows up soon…

fifr commented on 2020-01-28 09:44

@alberto-santini: thanks. I modified the pkgbuild as follows and it seems to work (at least the package has been installed):

  • replaced dependencies python>=3.7 and python<3.8 by 'python37' (which is currently an aur package)
  • replaced the calls to 'python' and 'python3' by 'python3.7' everywhere

I have no idea if this has side effects, though.

alberto-santini commented on 2020-01-28 09:33

@fifr: As far as I remember, CPLEX 12.10 will refuse to work with python 3.8 and wants python 3.7. If your core's python is 3.8, no matter if you install 3.7, I think this still violates "python<3.8".

Maybe we could change the depends to "python<=3.7" only? But I am afraid there is no way to tell the cplex installer to use 3.7 and not the default on your system (3.8) so installation would still fail.

Could you try to change the pkgbuild to this end, and see if you manage to install and use cplex with a double 3.7/3.8 python install?