CPXXversionnumber and CPXversionnumber

The routine CPXXversionnumber/CPXversionnumber returns the version number of the CPLEX library in the version_p argument.

int  CPXXversionnumber( CPXCENVptr env, int * version_p )

int  CPXversionnumber( CPXCENVptr env, int * version_p )

Description

The routine CPXXversionnumber/CPXversionnumber returns the version number of the CPLEX library in the version_p argument.

Arguments

env
A pointer to the CPLEX environment as returned by CPXXopenCPLEX/CPXopenCPLEX.
version_p
*version_p is the version of CPLEX in the format vvrrmmff, where vv is the version, rr is the release, mm is the modification, and ff is the fixpack number. For example, for CPLEX version 12.5.0.1 the returned value is 12050001.

Return

This function always returns 0.

Example


    int version;
    int status;
    status = CPXversionnumber(env, &version);
    printf ("CPLEX version is %d \n", version);