CPXXversion and CPXversion

The routine CPXXversion/CPXversion returns a pointer to a string specifying the version of the CPLEX library linked with the application.

CPXCCHARptr  CPXXversion( CPXCENVptr env )

CPXCCHARptr  CPXversion( CPXCENVptr env )

Description

The routine CPXXversion/CPXversion returns a pointer to a string specifying the version of the CPLEX library linked with the application. The caller should not change the string returned by this function.

Arguments

env
A pointer to the CPLEX environment as returned by CPXXopenCPLEX/CPXopenCPLEX.

Return

The routine returns NULL if the environment does not exist and the pointer to a string otherwise.

Example


printf ("CPLEX version is %s \n", CPXversion (env));