:orphan:
# MatPartitioningPartySetMatchOptimization
Activate matching optimization for graph reduction.
## Synopsis
```
#include "petscmat.h"
PetscErrorCode MatPartitioningPartySetMatchOptimization(MatPartitioning part, PetscBool opt)
```
Collective
## Input Parameters
- ***part -*** the partitioning context
- ***opt -*** boolean flag
## Options Database Key
- ***-mat_partitioning_party_match_optimization -*** Matching optimization on/off
## See Also
`MATPARTITIONINGPARTY`
## Level
advanced
## Location
src/mat/partition/impls/party/party.c
## Implementations
MatPartitioningPartySetMatchOptimization_Party in src/mat/partition/impls/party/party.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/partition/impls/party/party.c)
[Index of all MatOrderings routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)