petsc-main 2021-04-20
Report Typos and Errors


Set user-defined Lagrange multipliers. The vector type and parallel structure of the given vectormust match equality and inequality constraints. The vector must have a local size equal to the sum of the local sizes for the constraint vectors, and a global size equal to the sum of the global sizes of the constraint vectors.


#include "petsctao.h" 
#include "petscvec.h" 
PetscErrorCode TaoALMMSetMultipliers(Tao tao, Vec Y)

Input Parameters

tao - the Tao context for the TAOALMM solver
Y - vector of Lagrange multipliers


This routine is only useful if the user wants to change the parallel distribution of the combined dual vector in problems that feature both equality and inequality constraints. For other tasks, it is strongly recommended that the user retreive the dual vector created by the solver using TaoALMMGetMultipliers().

See Also

TAOALMM, TaoALMMGetMultipliers()




Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages