Lindo Api 12.0
Lindo Api 12.0
Contents
1. Introduction
2. Installation
3. License Keys
4. Samples
5. Technical Support
6. Contact Information
- - -
1. Introduction
[Powerful Solvers]
LINDO API is designed to solve optimization problems, including linear
programs, quadratic programs, conic programs, integer programs, and
general nonlinear/non-convex programs with global optimization and stochastic
programming extensions.
[Parallel Optimization]
LINDO API offers multi-cpu optimization extensions to its solvers to take
advantage
of computers with multicore processors.
[MATLAB Interface]
LINDO API functions can be called from within MATLAB via the mxLINDO
interface. With mxLINDO, you can build efficient optimization applications
using MATLAB's programming language with a fraction of the coding required
for lower level languages such as C++ or Visual Basic. Please refer to the
MATLAB\README.TXT file for more information.
[Java Interface (JNI)]
LINDO API includes Java Native Interface (JNI) support for Windows, OSX,
and Linux platforms. This new feature allows users to call LINDO API from
Java applications, such as applets running from a browser.
[.NET Interface]
LINDO API includes .NET support for Windows. This new feature allows users to
call LINDO API from .NET based distributed applications.
[Python Interface]
LINDO API includes Python support for Windows, OSX and Linux. This feature
allows users to call LINDO API using Python language.
[R Interface]
LINDO API includes R support for Windows, OSX and Linux. This feature allows
users to call LINDO API using R language.
2. Installation
Step 2. Copy this file into an installation directory of your choice (eg.
/opt):
Step 3. Change working directory to '/opt' and uncompress the file using
‘gzip –d’ command as below. This operation creates LAPI-LINUX-64x86-12.0.tar.
Step 4. Uncompress that file using ‘tar –xvf’ command as below. This will
create the LINDO API directory ‘lindoapi/’.
LINDOAPI_HOME=/opt/lindoapi
export LINDOAPI_HOME
Create symbolic links to the following library files – symbolic links are
required for makefiles in samples directory.
For Mac-OSX
Step 7. (Optional) You can update your library path environment variable
although it is not the
recommended way to specify search directories. LINDO API already have the
run-time search paths
(RPATH) hardcoded into its libraries. LD_LIBRARY_PATH might only be
appropriate as a short
term solution during testing or development. For example, a developer might
use it to point to
older versions (prior to v8) of the LINDO API library. Older versions of
LINDO API rely on this
environment variable.
LD_LIBRARY_PATH=$LINDOAPI_HOME/bin/<platform>:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
NOTE: Mac-OSX, AIX and HP-UX do not use LD_LIBRARY_PATH. Users of these
systems should apply the following equivalent changes.
Mac-OSX:
DYLD_LIBRARY_PATH=$LINDOAPI_HOME/bin/<platform>:$DYLD_LIBRARY_PATH
export DYLD_LIBRARY_PATH
AIX:
LIBPATH=$LINDOAPI_HOME/bin/<platform>:$LIBPATH
export LIBPATH
HP-UX:
SHLIB_PATH=$LINDOAPI_HOME/bin/<platform>:$SHLIB_PATH
export SHLIB_PATH
source $LINDOAPI_HOME/bin/<platform>/lindoapivars.sh
%> ./runlindo –v
Optionally, you can add “./” to your $PATH variable to avoid having to type
"./" in front of program runlindo from the current working directory.
3. License Keys
IMPORTANT NOTE (1): If you received a license key from your vendor via e-
mail,
you should edit your existing lndapi110.lic file with a text editor and
replace its content with the new key copying and pasting from the email
message. The actual license string lies between ‘>’ characters. If your
vendor sent your license key in the form of a file, simply drop the license
file under your ‘lindoapi\license\’ directory and rename it ‘lndapi110.lic’.
IMPORTANT NOTE (2): The users who require a license tied to a particular
machine [machine name,user_name,disk id] will be required to send us a
small file containing the target machine's [m,u,d] info. A file called
“userinfo.txt” can be created by typing “runlindo –uinfo” at command line.
The “runlindo” is a command-line application located under
lindoapi/bin/<PLATFORM>
directory.
The file “userinfo.txt” needs to be sent to [email protected] in order to
obtain
the machine specific license. The information contained within “userinfo.txt”
will be used by LINDO for licensing purposes ONLY.
4. Samples
5. Technical Support
If you need technical support, contact LINDO Systems with the following
information
1) The serial and version numbers of the LINDO API you are running. The
version number can be obtained by running 'runlindo –v' at command prompt.
2) The steps to reproduce the problem that you have encountered along with
the copies of required input/parameter files.
6. Contact Information
Technical Support:
[email protected]
Main Numbers:
(800)441-BEST(2378) or (312)988-7422
Technical Support:
(312)988-9421
Fax:
(312)988-9065