ILOG CPLEX .NET Reference Manual

Cplex.Goal.HasIncumbent Method 

Returns true if an incumbent solution has been found.

protected bool HasIncumbent();

Return Value

true if an incumbent solution has been found.

See Also

Cplex.Goal Class | ILOG.CPLEX Namespace