Optimization Solver provides two types of MindOpt licenses: cloud authentication (floating) and local authentication (fixed). Use the comparison table below to choose the type that fits your environment, then follow the steps in the corresponding section.
License types
| Cloud authentication | Local authentication | |
|---|---|---|
| License file | fl_client.ini | mindopt.lic |
| Network required | Yes — sends authentication requests only; no problem data leaves your machine | No |
| Machine binding | Not bound — use on any machine | Bound to a specific machine ID |
| Portability | Switch machines without updating the license file | Must update the license file when changing machines |
| Renewal | Click Renew in the Optimization Solver console before expiry; no file change needed | — |
Get a machine fingerprint for the unnetworked single machine unlimited concurrency license
This license type is supported in MindOpt V1.1 and later. It is different from the fixed license described in the next section.
After installing the Optimization Solver SDK (see Download and install the latest Optimization Solver SDK), run the hardwareprobe executable in a terminal to get your machine fingerprint:
xxxx@xxxx ~ % hardwareprobe
The current host fingerprint is as follows:
RcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgXpCopy the fingerprint string and submit it on the console:
Mainland: https://opt.console.alibabacloud.com/local-serve-list
Overseas: https://opt.console.alibabacloud.com/local-serve-list
After confirmation, the console generates a license file bound to that machine.
This license cannot be used in virtualized environments such as Docker or Kubernetes (K8s). Before purchasing, run hardwareprobe to confirm your machine can produce a fingerprint. If it cannot, you will see:
xxxx@xxxx ~ % hardwareprobe
Failed to get the first key information that makes up the machine's fingerprint.If this error appears, the machine is not supported.
Get a computer ID for the fixed license
A fixed license is bound to a specific computer. To generate one, submit your operating system type and computer ID to the license generator.
Run the command for your operating system:
| Operating system | Command | Example ID format |
|---|---|---|
| Windows | wmic bios get serialnumber | ~30 characters: lowercase letters, digits, and hyphens — e.g., abc1234-123a-……-cba12345 |
| Linux | cat /etc/machine-id | ~30 characters: lowercase letters and digits — e.g., 520abc321abc……123abc |
| macOS | ioreg -l | grep IOPlatformSerialNumber | ~10 characters: uppercase letters and digits — e.g., CBA123……XYZ2 |
Copy the output value and provide it, along with your operating system type, to generate the license file.