MOSEK Licensing in GAMS

Solver related questions
Post Reply
GabrielYin
User
User
Posts: 54
Joined: 1 year ago
Location: Dallas, TX, USA

MOSEK Licensing in GAMS

Post by GabrielYin » 11 months ago

Hi all,

I recently need to use MOSEK to solve large-scale SOCP problems, but I really do not know how to add a MOSEK license to my GAMS system.

I used to add a GAMS license to my GAMS system by just copying to the clipboard and paste in the Help button in the GAMS IDE, which includes CPLEX. I have also successfully added GUROBI into GAMS by just installing GUROBI software and then GAMS can identify it. But I do not know how to add other individual solver like MOSEK, which only gives you a lic. file. BTW I have access to Academic License.

I tried to put the license file into the GAMS directory, but it does not work. And I tried in both Mac OS X system (by a GAMS Studio) and Windows system (by a GAMS IDE).

Can somebody help me out with this? Thanks in advance!

Best,
Gabriel

eda
User
User
Posts: 2
Joined: 2 years ago

Re: MOSEK Licensing in GAMS

Post by eda » 1 day ago

For future reference.

I do not think a license obtained from Mosek will allow you to use Mosek from GAMS.
CEO at Mosek

User avatar
bussieck
Moderator
Moderator
Posts: 346
Joined: 3 years ago

Re: MOSEK Licensing in GAMS

Post by bussieck » 4 hours ago

GAMS comes with all the software required to run the solvers like Gurobi and MOSEK. So if you install Gurobi or not makes no difference. If you have a Gurobi license you need to tell GAMS about it, then you can use the GAMS solver "OsiGurobi" if you have a GAMS (BASE) license only or even GAMS solver "Gurobi" if you have a GAMS/Gurobi link license. The same holds for MOSEK. No need to install the software, just make GAMS aware of the license. Usually, the solver API has an "open environment method" the GAMS solver link calls, this has (solver specific) ways to find the solver license (popular ways are environment variables, specific file locations, etc). Please check the MOSEK web site how to tell the MOSEK "open environment method" where it can find its license.

-Michael

eda
User
User
Posts: 2
Joined: 2 years ago

Re: MOSEK Licensing in GAMS

Post by eda » 4 hours ago

Mosek will automatically look for the license file at

~/mosek/mosek.lic

so no need to setup OS variables.
CEO at Mosek

Post Reply