ISmLPSolveManager.UserLPSolvePath

Syntax

UserLPSolvePath: String;

Description

The UserLPSolvePath property determines a path to the lpsolve55.dll or liblpsolve55.so library.

Comments

The lpsolve55.dll library for Windows OS and liblpsolve55.so for Linux OS is required for Foresight Analytics Platform to be able to use the LPSolve solver. The library should be downloaded and unpacked before use. The library can be downloaded from one of the following websites:

To use the library, one should also calculate and save its checksum.

Example

Executing the example requires that the lpsolve55.dll library is downloaded ands saved in the C:\Work\LPSolve\ subdirectory.

Add a link to the Stat system assembly.

Sub UserProc;
Var
    LPSolve: ISmLPSolveManager;
Begin
    LPSolve := 
New SmLPSolveManager.Create;
    LPSolve.UserLPSolvePath := 
"C:\Work\LPSolve\lpsolve55.dll";
End Sub UserProc;

After executing the example, the path, where the lpsolve55.dll library is to be used, is set for the current repository.

See also:

ISmLPSolveManager