INPUT PARAMETERS
- ctx
- - context variable
OUTPUT PARAMETERS
- none
-
SYNOPSIS
#include "pgapack.h"
int PGAGetOptDirFlag(ctx)
PGAContext *ctx
LOCATION
pga.cEXAMPLE
Example:
PGAContext *ctx;
int optdir;
:
optdir = PGAGetOptDirFlag(ctx);
switch (optdir) {
case PGA_MAXIMIZE:
printf("Optimization direction = PGA_MAXIMIZE);
break;
case PGA_MINIMIZE:
printf("Optimization direction = PGA_MINIMIZE);
break;
}

