[AMPL 24715] AMPL license on google Colab

Hi team,

I have a valid license of AMPL with Cplex and Gurobi, how could I put this license in a google colab?

I supposed that is in this line:

from amplpy import AMPL, tools
ampl = tools.ampl_notebook(
modules=[“cplex”], # modules to install
license_uuid=“default”) # license to use

Could you help me please?

Regards,

Hi Daniel,

Do you have a static license for local machines or a dynamic license that can be moved and works in the cloud? If you have a dynamic license you can just replace “default” by your license UUID. If not, please email licensing@ampl.com and ask if the license you have can be converted into a dynamic license.