# TaoMeritFunctionDestroy

Destroy the data structures associated with the merit function and set associated function pointers to NULL.

## Synopsis

    #include "tao_solver.h"
    int TaoMeritFunctionDestroy(TAO_SOLVER solver)

Collective on TAO_SOLVER

## Input Parameters

solver -the TAO_SOLVER solver context

## Keywords

TAO_SOLVER, compute, minimization, function

## See Also

TaoSetMeritFunction()

Level:developer
Location:src/interface/tao_fghj.c
TAO Solver Index
Table of Contents