configure gurobi for c++ visual studio

Comments

4 comments

  • Jennifer Locke

    Have you debugged your application to see where the abort() is called?   It is possible it is coming from the GRBModel which is reading your model file and cannot find the file.   Is the model file located on your school computer and in the directory path indicated in your application?

    0
    Comment actions Permalink
  • Quanmeng Wang

    Hi, actually I did not even declare a GRBModel. Below is the screenshot 

     

     

    It is simple, so I suspect it should be the problem of configuration of Gurobi.

    0
    Comment actions Permalink
  • Gwyneth Butera

    I have two suggestions of things to test:

    Have you had a chance to test your license as decribed here:

    https://www.gurobi.com/documentation/8.1/quickstart_windows/testing_your_license.html

     

    Have you tried to build and run the C++ examples provided in the Gurobi distribution?

    I hope this helps,

    Gwyneth

    0
    Comment actions Permalink
  • Quanmeng Wang

    Thanks very much, I solved the problem by re-activating the license.

     

    I did not know that the activation of gurobi should be done for each different user of a school PC. 

     

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk