Nonsmooth test functions by Lukšan and Vlček (PyOPUS subsystem name: LVNS)
This module is independent of PyOPUS, meaning that it can be taken as is and used as a module in some other package. It depends only on the cpi and the _lvns modules.
The code in the binary module shares variables. Therefore the function should be created and then used immediately. Creating another function may change the previously created one. This sucks, but what can you do? I know! Rewrite the FORTRAN code :)
[lvns] | Lukšan L., Vlček J.: Test Problems for Nonsmooth Unconstrained and Linearly Constrained Optimization, Technical report V-798, ICS AS CR, Prague, 2000. |
Unconstrained minimax problems from the Lukšan-Vlček test suite.
Attributes:
All test functions in this class are maps from to . Every function is comprised of m partial functions
where x is a n-dimensional vector.
The actual test function is then constructed as
or
Returns the common problem interface.
Gradient is not supported. Anyway it is valid only where the functions are smooth.
xmin is also not available.
See the CPI class for more information.
Returns the value of the function at x.
Returns the value of the i-th partial function at x. If i is not given a vector of all partial functions is returned.
List of all function names
Initializes the binary implementation of the function. After this function is called no other function from the same test set may be created or initialized because that will change the internal variables and break the function. Returns an info structure.
Unconstrained nonsmooth problems from the Lukšan-Vlček test suite.
Attributes:
All test functions in this module are maps from to . Gradients are valid only where the functions are smooth (continuously differentiable).
Returns the common problem interface.
Gradient is not supported because it is untested at this time. Anyway it is valid only where the functions are smooth.
xmin is also not available.
See the CPI class for more information.
Returns the value of the function at x.
List of all function names
Initializes the binary implementation of the function. After this function is called no other function from the same test set may be created or initialized because that will change the internal variables and break the function. Returns an info structure.
Linearly constrained minimax problems from the Lukšan-Vlček test suite.
Attributes:
All test functions in this module are maps from to . Every function is comprised of m partial functions
where x is a n-dimensional vector.
The actual test function is then constructed as
or
The nc constraints are linear and are of the form
Beside linear constraints a problem can also have bounds of the form
Returns the values of the constraint functions at x.
Returns the common problem interface.
Gradient is not supported. Anyway it is valid only where the functions are smooth.
xmin is also not available.
See the CPI class for more information.
Returns the value of the function at x.
Returns the value of the i-th partial function at x. If i is not given a vector of all partial functions is returned.
List of all function names
Initializes the binary implementation of the function. After this function is called no other function from the same test set may be created or initialized because that will change the internal variables and break the function. Returns an info structure.