transform_vars_shift.c File Reference
Implementation of shifting all decision values by an offset. More...
Data Structures | |
struct | transform_vars_shift_data_t |
Data type for transform_vars_shift. More... | |
Functions | |
static void | transform_vars_shift_evaluate_function (coco_problem_t *problem, const double *x, double *y) |
Evaluates the transformed objective function. More... | |
static void | transform_vars_shift_evaluate_constraint (coco_problem_t *problem, const double *x, double *y) |
Evaluates the transformed constraint function. More... | |
static void | transform_vars_shift_evaluate_gradient (coco_problem_t *problem, const double *x, double *y) |
Evaluates the gradient of the transformed function at x. More... | |
static void | transform_vars_shift_free (void *thing) |
Frees the data object. More... | |
static coco_problem_t * | transform_vars_shift (coco_problem_t *inner_problem, const double *offset, const int shift_bounds) |
Creates the transformation. More... | |
Detailed Description
Implementation of shifting all decision values by an offset.
Function Documentation
|
static |
Creates the transformation.
|
static |
Evaluates the transformed constraint function.
|
static |
Evaluates the transformed objective function.
|
static |
Evaluates the gradient of the transformed function at x.
|
static |
Frees the data object.