Skip to main content

configure gurobi for c++ visual studio

Answered

Comments

4 comments

  • Jennifer Locke
    Gurobi Staff Gurobi Staff

    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
  • Quanmeng Wang
    Gurobi-versary
    First Comment
    First Question

    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
  • Gwyneth Butera
    Gurobi Staff Gurobi Staff

    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
  • Quanmeng Wang
    Gurobi-versary
    First Comment
    First Question

    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

Please sign in to leave a comment.