cocoex
package documentationExperimentation module of the COCO - COmparing Continuous Optimizers - framework.
The module provides benchmark test beds in the Suite
class
and output data facilities in the Observer
class.
See the documentation of the Suite
class:
>>> import cocoex as ex >>> help(ex.Suite) # doctest: +ELLIPSIS Help on class Suite... >>> print(ex.known_suite_names) # doctest: +ELLIPSIS [...
A more complete example use case can be found in the example_experiment.py
file.
Module | exceptions | Undocumented |
Package | python | Experimentation module of the COCO - COmparing Continuous Optimizers - framework. |
Module | solvers | No module docstring; 1/1 functions documented |
Module | utilities | No module docstring; 5/5 classes, 4/4 functions documented |
From the __init__.py
module:
Class | Observer | Observer which can be "attached to" one or several problems, however not necessarily at the same time. |
Class | Problem | Problem instances are usually generated using class Suite . |
Class | Suite | Suite of benchmark problems. |
Function | default_observers | return a map from suite names to default observer names. |
Function | log_level | log_level(level=None) return current log level and set new log level if level is not None and level. |