Originally posted by: SystemAdmin
Did you read the error message? It is clearly telling what you are doing wrong:
IloOplCplexBasis::getBasis() is not a static method of class IloOplCplexBasis. So you need an instance of this class to invoke this method.
In particular, you cannot invoke it with '::' notation (unless you are inside a subclass) but need to invoke it like 'basis->getBasis()' or 'basis.getBasis()', provided that 'basis' is either a pointer or a reference to an instance of IloOplCplexBasis.
How to obtain such a pointer or instance I don't know. I guess the people on the
OPL Forum will be able to help you.
#CPLEXOptimizers#DecisionOptimization