MOOCHO (Single Doxygen Collection)
Version of the Day
|
#include "RTOp.h"
Go to the source code of this file.
Classes | |
struct | RTOp_ROp_max_inequ_viol_reduct_obj_t |
const struct RTOp_RTOp_vtbl_t | RTOp_ROp_max_inequ_viol_vtbl |
int | RTOp_ROp_max_inequ_viol_construct (struct RTOp_RTOp *op) |
int | RTOp_ROp_max_inequ_viol_destroy (struct RTOp_RTOp *op) |
struct RTOp_ROp_max_inequ_viol_reduct_obj_t | RTOp_ROp_max_inequ_viol_val (RTOp_ReductTarget targ_obj) |
Computes the maximum violation of a set of inequality constraints.
Determines the maximum violation from a set of double-sided inequality constriants of the form:
vL(i) <= v(i) <= vU(i), for i = 1...n
Constraint violations are scaled by 1.0/(1.0+|v(i)|)
in the determination of the maximum violation. Any ties are broken by returning the lowest i
.
The input vectors are passed in the order:
v0 = v, v1 = vL, v2 = vU
Definition in file RTOp_ROp_max_inequ_viol.h.
int RTOp_ROp_max_inequ_viol_construct | ( | struct RTOp_RTOp * | op | ) |
Definition at line 309 of file RTOp_ROp_max_inequ_viol.c.
int RTOp_ROp_max_inequ_viol_destroy | ( | struct RTOp_RTOp * | op | ) |
Definition at line 316 of file RTOp_ROp_max_inequ_viol.c.
struct RTOp_ROp_max_inequ_viol_reduct_obj_t RTOp_ROp_max_inequ_viol_val | ( | RTOp_ReductTarget | targ_obj | ) |
Definition at line 324 of file RTOp_ROp_max_inequ_viol.c.
const struct RTOp_RTOp_vtbl_t RTOp_ROp_max_inequ_viol_vtbl |