logo NEO

 

MHTB:Installation

Overview

User's Guide

  •   - Download PDF
  •   - Requirements
  •   - Installation
  •   - Configuration
  •   - Writing Functs.
  •   - Config. Files
  •   - Execution

Developer's Guide

  •   - Download PDF
  •   - Matlab Code
  •   - Comm. Protocols
  •   - Library Code
  •   - Evaluation Server

Mallba Java-Plugin

  •   - Overview
  •   - Install. Instructions
  •   - Documentation
  •   - Download

Download



1. ssGA


The first step to install the ssGA library is to decompress the file ssga.zip in the desired directory. If a Unix user, for example, wants to install this library in the directory Libraries of his home directory, he will key in the following:

 

$ cd ~/Libraries
$ unzip ssga.zip

 

Windows users can decompress the file with a tool like WinZip or WinRAR. As a result of the decompression a directory ssGA containing the compiled Java classes will be created. However, the native code that allows the library to access MATLAB is platform dependant and needs to be compiled. To do so in Unix, the user will edit the file Makefile.uni, located in ssGA, to set the variables JAVA_DIR and MATLAB_DIR. Then he will key in the following inside the ssGA directory:

 

$ make -f Makefile.uni

 

A file Makefile.win is available for the compilation of the native code using the free C++Builder Compiler under Windows. After setting the variables JAVA_DIR and MATLAB_DIR, the next command needs to be executed inside the ssGA directory:

 

C:> make -f Makefile.win



2. jEA


To install jEA it is necessary to decompress the file jea.zip in the desired directory. If the user of the previous example wants to install it in the same directory Libraries, he should key in the following:

 

$ cd ~/Libraries
$ unzip jea.zip

 

After decompressing the library, the directory jEA will have been created. To compile the native code in Unix, you have to edit the file Makefile.uni and key in the following inside the directory jEA:

 

$ make -f Makefile.uni

 

Windows users must edit the file Makefile.win, move to the directory jEA, and key in the following:

 

make -f Makefile.win



3. MALLBA

This library is compressed in the file mallba.zip. Let’s assume the user of the previous examples wants to install it with the others in the directory Libraries. He should key in:

 

$ cd ~/Libraries
$ unzip mallba.zip

 

A directory Mallba will be created. The next step is to configure the library by editing the file environment, located in the root of the installation of MALLBA, setting the following variables:

 

MALLBA_DIR Full path to the directory Mallba
APPLESEEDS_DIR Full path to the root directory of AppleSeeds
MPI_BIN Full path to the directory with the binary files of MPICH

 

Once this file has been edited, the library needs to be built. To do so, the next command needs to be executed inside the Mallba directory:

 

$ make all

 

This way the MALLBA skeletons are compiled. The last step is to compile the code that allows MATLAB to run this library. To do so the user first has to edit the file mallba_compiling.m, located in the root of the installation of MALLBA, and set the following variables:

 

MALLBA_DIR Full path to the directory Mallba
APPLESEEDS_DIR Full path to the root directory of AppleSeeds

 

Finally, he has to start MATLAB from the directory Mallba and key in:

 

>> mallba_compiling

 

This way the MALLBA library will be installed and ready to be used from the toolbox.




4. MATLAB Functions and Server


To install the MATLAB functions and the evaluation server the toolbox.zip file must be decompressed. If a Unix user wants to install them in his home directory he should key in the following:

 

$ cd ~
$ unzip toolbox.zip

 

An MHTB directory will be created, with the following contents:

 

Server Evaluation server
ssGADir MATLAB code for the ssGA library
jEADir MATLAB code for the jEA library
MallbaDir MATLAB code for the MALLBA library
functions Objective functions
operators Operators
instances Problem instances
opts Configuration files
res Results files

 

The server contains a native code that needs to be compiled. To do so you move to the directory MHTB/Server, then you edit the file Makefile.uni or Makefile.win, according to the operating system, and finally you make the compilation. Under Unix:

 

$ make -f Makefile.uni

Under Windows:

C:> make -f Makefile.win




Our Software

orangebox Mallba

orangebox DLOPT

orangebox epiGA

orangebox epiGApy

orangebox ssGA

orangebox JGDS

orangebox xxGA

orangebox JCell

orangebox MHTB

orangebox DEME

orangebox JMetal

orangebox More...

orangebox Go Back



J. Cabello Galisteo 2008