# MatPartitioningPartySetMatchOptimization
Activate matching optimization for graph reduction. 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatPartitioningPartySetMatchOptimization(MatPartitioning part, PetscBool opt)
```
Collective on part


## 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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/partition/impls/party/party.c.html#MatPartitioningPartySetMatchOptimization">src/mat/partition/impls/party/party.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/partition/impls/party/party.c.html#MatPartitioningPartySetMatchOptimization_Party">MatPartitioningPartySetMatchOptimization_Party in src/mat/partition/impls/party/party.c</A><BR>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
