Hello,
I've been using yalmip for Matlab with cplex and gurobi to solve MILPs on
private machines
since 3 years now. (Thanks a lot for this invaluable toolbox you provided!)
Recently, I got access to a virtual machine on my university's server which uses a token server for the gurobi license.
As long as I run the optimization with default settings, everything works fine. However, as soon as I specify even a single parameter specific to gurobi I get the following error message: "Gurobi error 10003: Mixing different types of licence parameters is not
allowed"
After some debugging, it seems to me that the default gurobi settings generated when specifying any gurobi parameter (function setup_gurobi_options in sdpsettings.m) overwrites the token server information. I tried to specify the token server property manually but it didn't solve the problem - probably because I didn't specify the port and password (because I don't know it).
I managed to solve it for now in a rather nasty way by commenting all server-related properties in setup_gurobi_options (sdpsettings.m, lines 805-831), but I think there should be a more elegant way.
Please let me know if there is any obvious mistake from my side; I never used a token server before and didn't find any specific information on setting up yalmip+gurobi with a token server.
If it is a bug however, I'd be happy to provide any additional information that might be helpful.
Version info: Gurobi 9.1.1, Matlab 2018a, latest distribution of yalmip (as far as I am aware - our IT guy did the installation)
Best wishes,
Lukas