TOMLAB OPTIMIZATION LOGO TOMLAB OPTIMIZATION AREA top banner
  # LOGIN   # REGISTER (FREE TRIAL)
  # myTOMLAB  
Services
*Support
*Consulting
*FAQ

TOMLAB FAQ

General

Q:

 

What platforms does TOMLAB support?

A:

 

The TOMLAB Optimization Environment requires MATLAB 6.5 and above and can be run on the following platforms: Windows 32-bit, Windows 64-bit, Linux 32-bit, Linux 64-bit, Mac OS X (Intel).

 

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.

 

    Tomlab Optimization © 1989-2016. All rights reserved.    Last updated: Oct 17, 2016. Site map.