PGAGetOptDirFlag(8)

PGAGetOptDirFlag8

Returns a symbolic constant that represents the direction of optimization

Usage

int PGAGetOptDirFlag(ctx)

PGAContext *ctx

Input parameters

ctx

- context variable

Output parameters

none

Location

pga.c

Examples

Example:
PGAContext *ctx;
int optdir;
:
optdir = PGAGetOptDirFlag(ctx);
switch (optdir) {
case PGA_MAXIMIZE:
printf("Optimization direction = PGA_MAXIMIZE0);
break;
case PGA_MINIMIZE:
printf("Optimization direction = PGA_MINIMIZE0);
break;
}

Releases

Unchanged in 4 releases since Debian 5.0 (Lenny).

  1. 5.0–8

From pgapack 1.1.1-3 in Debian 8 (Jessie). Parsed by carta from the page's man source.