#include "petsctao.h" PetscErrorCode TaoBoundStep(Vec X, Vec XL, Vec XU, IS active_lower, IS active_upper, IS active_fixed, PetscReal scale, Vec S)
X | - solution vector | |
XL | - lower bound vector | |
XU | - upper bound vector | |
active_lower | - index set for lower bounded active variables | |
active_upper | - index set for lower bounded active variables | |
active_fixed | - index set for fixed active variables | |
scale | - amplification factor for the step that needs to be taken on actively bounded variables |
S | - step direction to be modified |