#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <math.h>
#include <time.h>
#include <ctype.h>
#include "CSA_Problem.h"
Functions | |
| int | main (int argc, char **argv) |
| Command line arguments. | |
This file contains the source code for the following Coupled Simulated Annealing (CSA) methods:
The functions to be optimized by the methds defined here must be implemented in CSA_Problem.c. Any initial configuration for these methods is given through the command line.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Command line arguments.
| -m | Maximum number of function evaluations per process [Default value = 1] | |
| -s | Number of fixed steps per temperature [Default value = 1] | |
| -a | Initial acceptance temperature [Default value = 1] | |
| -g | Initial generation temperature [Default value = 1] | |
| -d | Problem dimension [Default value = 1] | |
| -p | Targert variance of the acceptance probabilities (only relevante for CSA-MwVC) [Default value = 0.995] | |
| -o | Global optimum cost/energy (combine with -e) [Default value = -HUGE_VAL] | |
| -e | Error tolerance (combine with -o) [Default value = 0.0001] | |
| -i | Job identification string [Must be set] | |
| -f | Number of the test problem to be optimized [Default value = 0] |
1.5.3