3.5. License

To run the standalone version of MindOpt, users must first obtain a valid license.

3.5.1. License Acquisition

MindOpt supports both standalone license and floating license:

  • For users with internet access, we recommend using cloud-based floating license. Please refer to Cloud Authentication for online service activation, obtaining the licenseKey, and configuring the the floating license file fl_client.ini.

  • Users who have no internet access can use the standalone license mindopt.lic or deploy a private floating license. Please Contact Us to obtain the license.

Note

  • Either the floating license fl_client.ini or the standalone license mindopt.lic can activate MindOpt.

  • When both kinds of licenses are available, the standalone license mindopt.lic will be validated first.

After obtaining the license, please follow the steps below to set up.

3.5.2. Windows Platform

Default license path:

  • Click the Start button or press the key Win+S on your computer and type cmd to open the Command Prompt.

  • Create a folder named mindopt under your home directory, such as C:\Users\Administrator\mindopt, and save your license file in it:

    • cloud-based floating license fl_client.ini

      mkdir mindopt
      copy <PATH\TO\LICENSE>\fl_client.ini mindopt\
      
    • or the standalone license mindopt.lic

    mkdir mindopt
    copy <PATH\TO\LICENSE>\mindopt.lic mindopt\
    

Customized license path:

If you place the license file in a customized location, please follow the instructions below to modify the environment variable:

  • Right click on This PC, then click Properties -> Advanced system settings -> Advanced -> Environment Variables.

  • Click on New to add a new environment variable with its name set as MINDOPT_LICENSE_PATH, and its value set as the directory where the license file is located.

3.5.3. Linux & OSX Platform

Default license path:

  • Create a folder named mindopt under your home directory, and save your license file in it:

    • cloud-based floating license fl_client.ini

    mkdir ~/mindopt
    cp <PATH/TO/LICENSE>/fl_client.ini ~/mindopt/
    
    • or the standalone license mindopt.lic

    mkdir ~/mindopt
    cp <PATH/TO/LICENSE>/mindopt.lic ~/mindopt/
    

Customized license path:

If you place the license file in a customized location, please modify the environment variable as follows:

export MINDOPT_LICENSE_PATH=<PATH/TO/MY/LICENSE>

where <PATH/TO/MY/LICENSE> represents the path to your license file.