This section describes the licenses for Optimization Solver.
Differences between licenses
Optimization Solver provides two types of MindOpt licenses:
Cloud authentication: A floating license is used for online authentication. The license file is
fl_client.ini
.Advantage: You can use the license on different computers. Before the license expires, you can click the Renew button in the Optimization Solver console to renew the license, without the need to change the license file.
Security: When you use the license, your computer needs to be connected to the network to send only authentication requests but no problem-related data.
Local authentication: A fixed license is used. This license is bound to the ID of an offline computer. The license file is
mindopt.lic
.Advantage: Your computer does not need to be connected to the network, which delivers faster authentication.
Disadvantage: You need to change the license file if you change your computer.
Get Machine fingerprint for Unnetworked Single machine unlimited concurrency license
This License is supported in MindOpt V1.1 and later. After complete installation normally according to "Download and install the latest Optimization Solver SDK", there will be an executable hardwareprobe
. You can run it in the Terminal and to get the machine fingerprint ( one string codes ). As follows:
xxxx@xxxx ~ % hardwareprobe
The current host fingerprint is as follows:
RcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgXp
Copy and submit the fingerprint to the corresponding page. For more information, visit the following pages:
Mainland: https://opt.console.aliyun.com/local-serve-list
Overseas: https://opt.console.alibabacloud.com/local-serve-list
Copy the Machine fingerprint, such as "RcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgXp", and paste it in the purchased service of the optimization solver console, then you will obtain the License file of the corresponding machine after confirmation.
Note: This License cannot be used in virtualized environments such as Docker and K8s. Please complete the software installation and run the hardwareprobe
before using this license to see if the machine fingerprint can be obtained. If it cannot be obtained, the following print will be given:
xxxx@xxxx ~ % hardwareprobe
Failed to get the first key information that makes up the machine's fingerprint.
Method of obtaining a fixed license
A fixed license must be bound to a computer ID. You must submit your system type and the computer ID to the license generator to generate a license.
You can open the command line tool on your computer and run a command described in the following table based on the operating system of your computer to obtain the computer ID.
*Note: This license is different from "Single machine unlimited concurrency" license.
Operating system | Command | Example ID |
Windows |
|
|
Linux |
|
|
macOS |
|
|