BoundGradientProjection

Projects this vector according to this definition. If XX[i]==XXL[i], then this[i] = min(G[i],0); If XX[i]==XXU[i], then this[i] = max(G[i],0); else this[i] = G[i];

Synopsis

#include "tao_solver.h"  
int TaoVec::BoundGradientProjection(TaoVec* gg,TaoVec* xxll,TaoVec* xx, TaoVec* xxuu)

Input Parameters

GG,XX,XXL,XXU -the vectors.

Level:advanced
Location:src/vector/taovec.c
TAO Solver Index
Table of Contents