MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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.

const struct RTOp_RTOp_vtbl_t RTOp_ROp_combined_nu_comp_err_vtbl
 
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)
 
const struct RTOp_RTOp_vtbl_t RTOp_ROp_combined_nu_comp_err_one_only_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)
 

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.

Function Documentation

int RTOp_ROp_combined_nu_comp_err_construct ( struct RTOp_RTOp op)

Definition at line 151 of file RTOp_ROp_combined_nu_comp_err.c.

int RTOp_ROp_combined_nu_comp_err_destroy ( struct RTOp_RTOp op)

Definition at line 162 of file RTOp_ROp_combined_nu_comp_err.c.

RTOp_value_type RTOp_ROp_combined_nu_comp_err_val ( RTOp_ReductTarget  reduct_obj)

Definition at line 171 of file RTOp_ROp_combined_nu_comp_err.c.

int RTOp_ROp_combined_nu_comp_err_one_only_construct ( struct RTOp_RTOp op)

Definition at line 264 of file RTOp_ROp_combined_nu_comp_err.c.

int RTOp_ROp_combined_nu_comp_err_one_only_destroy ( struct RTOp_RTOp op)

Definition at line 275 of file RTOp_ROp_combined_nu_comp_err.c.

RTOp_value_type RTOp_ROp_combined_nu_comp_err_one_only_val ( RTOp_ReductTarget  reduct_obj)

Definition at line 284 of file RTOp_ROp_combined_nu_comp_err.c.

Variable Documentation

const struct RTOp_RTOp_vtbl_t RTOp_ROp_combined_nu_comp_err_vtbl

Definition at line 138 of file RTOp_ROp_combined_nu_comp_err.c.

const 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 251 of file RTOp_ROp_combined_nu_comp_err.c.