Gurobi NEOS issue

Comments

1 comment

  • Eli Towle

    Hi,

    A list of NEOS interfaces can be found here. There isn't a way to directly submit a job to NEOS using only the Gurobi Python interface. You could always build the model in Python, save it as an MPS file, then submit the MPS file to NEOS to solve.

    NEOS passes a model file, as well as any parameter, solution, etc. files provided by the user, to Gurobi to solve. Thus, you aren't able to use callbacks with the NEOS server. The closest you could get to a callback is to a priori enumerate a set of lazy constraints to use, set the Lazy attributes to a nonzero value, then submit the job to NEOS using the parameter LazyConstraints=1. Even this is limited in its practicality, since in many cases it is impractical to enumerate all possible lazy constraints.

    To use all of the advanced features of Gurobi, the best solution is to obtain an academic license for your local machine. If you are an academic but unable to obtain an academic license for any reason, please submit a request through the online support portal and we will help you obtain one. Thanks!

    Eli

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk