# TaoADMMSetMisfitConstraintJacobian
Set the constraint matrix B for the ADMM algorithm. Matrix B constrains the z variable. 
## Synopsis
```
#include "petsctao.h" 
PetscErrorCode TaoADMMSetMisfitConstraintJacobian(Tao tao, Mat J, Mat Jpre, PetscErrorCode (*func)(Tao, Vec, Mat, Mat, void *), void *ctx)
```
Collective


## Input Parameters

- ***tao -*** the Tao solver context
- ***J -*** user-created regularizer constraint Jacobian matrix
- ***Jpre -*** user-created regularizer Jacobian constraint preconditioner matrix
- ***func -*** function pointer for the regularizer constraint Jacobian update function
- ***ctx -*** user context for the regularizer Hessian





## See Also
 `TaoADMMSetRegularizerCoefficient()`, `TaoADMMSetRegularizerConstraintJacobian()`, `TAOADMM`


## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/constrained/impls/admm/admm.c.html#TaoADMMSetMisfitConstraintJacobian">src/tao/constrained/impls/admm/admm.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/constrained/tutorials/tomographyADMM.c.html">src/tao/constrained/tutorials/tomographyADMM.c.html</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/constrained/impls/admm/admm.c)


[Index of all Tao routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
