RTOp_ROp_combined_nu_comp_err.h File Reference

#include "RTOp.h"
#include "RTOp_obj_value_vtbl.h"

Include dependency graph for RTOp_ROp_combined_nu_comp_err.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
int RTOp_ROp_combined_nu_comp_err_construct (struct RTOp_RTOp *op)
int RTOp_ROp_combined_nu_comp_err_destroy (struct RTOp_RTOp *op)
RTOp_value_type RTOp_ROp_combined_nu_comp_err_val (RTOp_ReductTarget reduct_obj)
RTOp_RTOp_vtbl_t RTOp_ROp_combined_nu_comp_err_vtbl
int RTOp_ROp_combined_nu_comp_err_one_only_construct (struct RTOp_RTOp *op)
int RTOp_ROp_combined_nu_comp_err_one_only_destroy (struct RTOp_RTOp *op)
RTOp_value_type RTOp_ROp_combined_nu_comp_err_one_only_val (RTOp_ReductTarget reduct_obj)
RTOp_RTOp_vtbl_t RTOp_ROp_combined_nu_comp_err_one_only_vtbl

Detailed Description

 element-wise reduction      : comp_err = max(comp_err, v0(i)*(v3(i)-v1(i), -v0(i)*(v1(i)-v2(i))));


This operator class implementation was created automatically by 'new_rtop.pl'.

This operator calculates an estimate of the complementarity error using a combined nu for the upper and lower bound inequality constraints. At the soln, a positive nu indicates the upper bound is active, while a negative nu indicates the lower bound is active. If nu is zero, then neither bound is active.

      for every i..
       comp_err = max(comp_err, v(i)*(xu(i)-x(i), -v(i)*(x(i)-xl(i))));

Definition in file RTOp_ROp_combined_nu_comp_err.h.

Variable Documentation

struct RTOp_RTOp_vtbl_t RTOp_ROp_combined_nu_comp_err_one_only_vtbl

 element-wise reduction      : comp_err = max(comp_err, v0(i)*(v1(i)-v2(i)));


This operator class implementation was created automatically by 'new_rtop.pl'.

This operator calculates the comp_err for a single bound vector (upper or lower) - it is to be used when either one of the bounds vectors are all infinite (-/+)

Definition at line 238 of file RTOp_ROp_combined_nu_comp_err.c.

Generated on Tue Jul 13 09:28:39 2010 for RTOpPack: Extra C/C++ Code for Vector Reduction/Transformation Operators by  doxygen 1.4.7