Search for a minimum of sphere function of 15 variables
F(X1,X2,...,X15) = X1^2 + X2^2 + ... + X15^2
from the starting point with coordinates X1 = X2 = ... = X15 = 10.
Variable X3 is constrained (its lower boundary equals to 5).
With this constraint, the function has a minimum at zero values of all the variables but X3, which will reach the value of X3=5.
See details at http://www.chem-astu.ru/science/opt/eindex.shtml
# Code of the optimized function:
{1}*{1} +
{2}*{2} +
{3}*{3} +
{4}*{4} +
{5}*{5} +
{6}*{6} +
{7}*{7} +
{8}*{8} +
{9}*{9} +
{10}*{10} +
{11}*{11} +
{12}*{12} +
{13}*{13} +
{14}*{14} +
{15}*{15}
# Type of the optimization (1 - search for a maximum, -1 - search for a minimum):
-1
# Boundaries (on left and right) and starting point coordinates (middle) separated by comma. If a boundary is absent, a comma MUST BE PRESENT.
, 10,
, 10,
5, 10,
, 10,
, 10,
, 10,
, 10,
, 10,
, 10,
, 10,
, 10,
, 10,
, 10,
, 10,
, 10,
# Optional block: size of an initial complex(L) and a convergence limit (epsilon):
0.1
1.0e-7