#include "petsctao.h" PetscErrorCode TaoSetSeparableObjectiveWeights(Tao tao, Vec sigma_v, PetscInt n, PetscInt *rows, PetscInt *cols, PetscReal *vals)Collective on Tao Many br
tao | - the Tao context Many br | |
sigma_v | - vector of weights (diagonal terms only) Many br | |
n | - the number of weights (if using off-diagonal) Many br | |
rows | - index list of rows for sigma_w Many br | |
cols | - index list of columns for sigma_w Many br | |
vals | - array of weights Many br |
Note: Either sigma_v or sigma_w (or both) should be NULL Many br
Many br
Level:intermediate
Location:src/tao/interface/taosolver_fg.c
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages