RTOp_ROp_max_inequ_viol.h File Reference

#include "RTOp.h"
Include dependency graph for RTOp_ROp_max_inequ_viol.h:

Go to the source code of this file.

Classes

struct  RTOp_ROp_max_inequ_viol_reduct_obj_t

Detailed Description

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Generated on Wed Apr 13 10:09:09 2011 for RTOpPack: Extra C/C++ Code for Vector Reduction/Transformation Operators by  doxygen 1.6.3