1. Install libraries of optimization problems
You can move to classic-functions directory and install the libraries of the optimization problems.
LINUX> cd $NETSOLVE_ROOT/C++examples/gaExample/server/classic-functions LINUX> aclocal LINUX> autoheader-2.53 LINUX> autoconf-2.53 LINUX> automake LINUX> ./configure --prefix=$NETSOLVE_ROOT/C++examples/gaExample/server LINUX> make LINUX> make install |
2. Assign the problems into NetSolve
First, set the environment variable CLASSIC_FUNCTIONS_PATH.
LINUX> export CLASSIC_FUNCTIONS_PATH=$NETSOLVE_ROOT/C++examples/gaExample/server |
LINUX> cp $CLASSIC_FUNCTIONS_PATH/NetSolve/problems/* $NETSOLVE_ROOT/problems |
./problems/rastrigin ./problems/schwefel ./problems/griewank ./problems/ridge ./problems/rosenbrock |
LINUX> cd $NETSOLVE_ROOT LINUX> make server |
3. Install the server-config files
In these examples, there are five test functions;
Rastrigin
Schwefel
Griewank
Ridge
Rosenbrock
LINUX>cp $NETSOLVE_ROOT/C++examples/gaExample/server/NetSolve/server_config/* $NETSOLVE_ROOT |