3.5. License Setup

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

3.5.1. License Acquisition

MindOpt supports both Commercial License and Community License:

Commercial License

  • Single License: Designed for high-performance servers, this local license has no restrictions on CPU cores or computational resources, and it supports unlimited concurrent usage on a single machine.

  • Floating License: Ideal for complex environments, this license is tied to a server’s MAC address and CPU ID, offering a pool of tokens that can be shared across multiple machines within a local network. Tokens are dynamically allocated to client machines as needed, supporting multi-application and multi-machine deployments.

Community License

  • The first choice for community users, academic users and commercial prototype users, based on cloud licensing, no problem-size limits, no trial period.

Note

  • Either the single license mindopt.lic or the floating license fl_client.ini or the community license ce_license.ini can activate MindOpt.

  • When over 2 kinds of licenses are available. The priority is mindopt.lic as the highest, fl_client.ini as the second, and ce_license.ini as the lowest.

For single license or private deployment floating licenses, please refer to the contact information provided in Contact Us and contact us to obtain them.

3.5.2. License Configuration

MindOpt Licenses can be checked from three different locations, in order:

  • The directory specified by the environment variable MINDOPT_LICENSE_PATH.

  • The path to the mindopt folder in the user’s home directory.

  • The installation directory of MindOpt.

After obtaining the license, please follow the steps below to set the license path, choose any one. It is recommended to place it directly in the installation directory.

3.5.3. Windows Platform

Home Directory Path

  • Open the explorer, in order to click System Disk, click Users-> <your_name> to enter the user’s home directory.

  • Create a folder called mindopt in this directory, such as C:UsersAdministratormindopt, and save your license file there.

  • You can also open the command line and execute the following command to create the mindopt folder and copy the license file to your home directory:

    • Community License file ce_license.ini

      mkdir %USERPROFILE%\mindopt
      copy <PATH\TO\LICENSE>\ce_license.ini %USERPROFILE%\mindopt\
      
    • Single License File mindopt.lic

      mkdir %USERPROFILE%\mindopt
      copy <PATH\TO\LICENSE>\mindopt.lic %USERPROFILE%\mindopt\
      
    • Floating License File fl_client.ini

      mkdir %USERPROFILE%\mindopt
      copy <PATH\TO\LICENSE>\fl_client.ini %USERPROFILE%\mindopt\
      

Where <PATH/TO/MY/LICENSE> represents the directory where your license is located.

Environment Variable Path

  • Place the license file in any customized location. Please modify the environment variables according to the following guidelines:

  • Right-click This PC, click Properties -> Advanced System Settings -> Advanced -> Environment Variables.

  • Click New to add an environment variable. Among them, variable name is MINDOPT_LICENSE_PATH, and variable value is the directory where you save the license file.

Installation Path

  • The license file can be placed directly in the installation path of MindOpt, which is at the same level as the 2.0.0 directory.

3.5.4. Linux & macOS Platforms

Home Directory Path

  • Create a folder named mindopt in the $HOME directory and save your license file there.

    • Community License File ce_license.ini

    mkdir ~/mindopt
    cp <PATH/TO/LICENSE>/ce_license.ini ~/mindopt/
    
    • Single License File mindopt.lic

    mkdir ~/mindopt
    cp <PATH/TO/LICENSE>/mindopt.lic ~/mindopt/
    
    • Floating License File fl_client.ini

    mkdir ~/mindopt
    cp <PATH/TO/LICENSE>/fl_client.ini ~/mindopt/
    

Environment Variable Path

  • To place the license file in any customized location, please specify the following environment variables:

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

Where <PATH/TO/MY/LICENSE> represents the directory where your license is located.

Installation Path

  • The license file can be placed directly in the installation path of MindOpt, which is at the same level as the 2.0.0 directory.