Summary: A few classes/interfaces in C++ implementing "Simulated Annealing" optimization method on optimization problems involving an objective function defined as the expected value of a random variable.
These classes aim to solve problems of the following type:
Here,
Check the file Rn_problem_template.cpp
it has explanations sufficent for you to figure it out ;).
Essentially, you need to create a derived class for the problem and a derived class for the solver, in them, fill out the details by providing functions specific to your application, and after that, you can run it and retrieve your results.
I also included a Traveling Salesman Problem
solver example.
Let
Note that if
EVP stands for Expected value problem.
g++ -O2 -Wall -Weffc++ -Wextra -Wsign-conversion -std=c++17 file.cpp -o file.exe
TODO.
Resumen: Unas pequeñas clases/interfaces en C++ implementando el método de optimización simulated annealing para resolver problemas de optimización donde hay una esperanza en la función valor.