|
|
|
TOMLAB FAQ
General
Q: |
|
What platforms does TOMLAB support? |
A: |
|
The TOMLAB Optimization Environment requires MATLAB R2009b and above and can be run on the following platforms:
Windows 64-bit, Linux 64-bit and Mac OS X 64-bit. |
|
Installation
Q: |
|
When I run e.g. CPLEX, I get an error like this:
Unable to load mex file: C:\tomlab\cplex\cplexmex.dll.
The specified module could not be found.
??? Invalid MEX-file
What is wrong? |
A: |
|
The "specified module" that couldn't be found is probably a shared
library, but it could also be that the wrong TOMLAB (e.g trying to use TOMLAB for MATLAB 7.3 for MATLAB 7.8 (R2009a)). The shared libraries needed are installed in tomlab/shared-directory
and they must be visible to MATLAB through the PATH environment variable. On
Windows, it is automatically set upon installation, but you have to restart
MATLAB (operating system recommended) if it was running while installing TOMLAB.
|
| Q: |
|
When I try to run a solver I get an error message saying: "... No such file or directory ??? Invalid MEX-file". What can I do about it? |
A: |
|
Your problem probably occurs because (on Unix) you have not set your environment variables
properly or (on Windows) because the installer failed to set them for you. From MATLAB using getenv(),
check that the tomlab/shared directory is included in the environment variable LD_LIBRARY_PATH (on Unix)
or PATH (on Windows).
For a more detailed instruction on Unix, refer to README.TOMLAB. On Windows, InstallShield should set this
path automatically at installation.
|
| Q: |
|
Where should I install the tomlab.lic file? | A: |
|
Put it in the TOMLAB root directory, where TOMLAB is installed that is. |
| Q: |
|
Why do I get a "system failure" error upon TOMLAB startup? |
A: |
|
Because your system clock is set wrong. If you set it to today's date, there should be no problem. |
|
|
|