2
$\begingroup$

Pyomo has two solver managers to execute external solvers:

  • neos (remote execution)
  • serial (local execution).
pyomo help --solvers

yields a list of solvers available for each manager. It states

The following solver interfaces are available with YOUR CURRENT SYSTEM configuration: ...

That list does NOT contain Gurobi for the neos manager, which I want to use for my task.

Does it depend on my

current system configuration

or is it a feature not implemented ? What configuration would be necessary ?

current system:

Pyomo 6.4.2 (CPython 3.9.13 on Windows 10)
Python 3.9.13
$\endgroup$
2
  • 1
    $\begingroup$ As far as I know, the only way to use Gurobi on the Neos is by using its web-based interface. Also, using Gurobi on the other AML needs to have a valid license. $\endgroup$
    – A.Omidi
    Nov 24, 2022 at 7:45
  • $\begingroup$ Yes, with a valid license it is working locally. Probably a restriction from NEOS. $\endgroup$ Dec 2, 2022 at 12:59

1 Answer 1

1
$\begingroup$

It is due to the interface on the NEOS server:

ampl: option solver kestrel;
ampl: option kestrel_options 'solver=gurobi';
ampl: option neos_server 'neos-server.org:3333';
ampl: option email 'USER@MAIL';
ampl: solve;
Connecting to: neos-server.org:3333
gurobi is not available on NEOS. Choose from:
    Bonmin
    Cbc
    CONOPT
    COUENNE
    CPLEX
    FilMINT
    filter 
    Ipopt
    KNITRO
    L-BFGS-B
    LANCELOT
    LGO
    LOQO
    MINLP
    MINOS
    MINTO
    MOSEK
    OCTERACT
    OOQP
    PATH
    RAPOSa
    SNOPT

To choose: option kestrel_options "solver=xxx";


exit value 1
<BREAK>
ampl:
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.