# TaoSetupGAApplicationSolver

This routine creates the vectors, matrices, linear solvers, and other data structures used in the during the optimization process. The application provides the solver with an objective function, constraints, derivative information, and application data structures. These structures include a vector of variables, and Hessian matrix.

## Synopsis

    #include "taoapp_ga.h"
    int TaoSetupGAApplicationSolver(TAO_GA_APPLICATION myapp, TAO_SOLVER tao )

Collective on TAO_SOLVER

## Input Parameters

| myapp | - user application context
| tao | - the TAO_SOLVER solver context

Note: This routine should be called after TaoGAAppSetInitialSolutionVec()

## Note

This method is called during TaoSetOptions() and TaoApplicationSolve();

## Keywords

GAApplication

## See Also

TaoSolveGAApplication()

Level:intermediate
Location:src/external/globalarraytao/taoapp_ga.c
TAO Solver Index
Table of Contents