# TaoGAAppSetVariableBoundsRoutine

Set bounds on the variables.

## Synopsis

    #include "taoapp_ga.h"
    int TaoGAAppSetVariableBoundsRoutine(TAO_GA_APPLICATION gaapp,
                                        int (*func)(TAO_GA_APPLICATION, GAVec, GAVec, void *), void *ctx)

Collective on TAO_GA_APPLICATION

## Input Parameters

| gaapp | - the TAO_GA_APPLICATION context
| func | - the variable bounds evaluation routine
| ctx | - user-defined context for private data for the variable bounds evaluation routine (may be TAO_NULL)

## calling sequence of func

       func (TAO_GA_APPLICATION gaapp, GAVec xl, GAVec xu, void *ctx);

| gaapp | - the TAO_GA_APPLICATION application context
| xl | - lower bounds vector
| xu | - upper bounds vector
| ctx | - user-defined variable bounds context

## Keywords

GAApplication, bounds

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