Originally posted by: HKUcivil
Hi,
Previously,I use (cplex.writeBasis("bas.bas")/cplex.readBasis("bas.bas")to access basis.
Now i want to use IloOplCplexBasis class.
However, when i add
IloOplCplexBasis::getBasis(cplex)
It shows the warning that :
error C2352: 'IloOplCplexBasis::getBasis' : illegal call of non-static member function C:\ILOG\CPLEX_Studio_AcademicResearch122\opl\include\ilopl/ilooplmodel.h(546) : see declaration of 'IloOplCplexBasis::getBasis' How to solve this problem.
Thanks.
#DecisionOptimization#OPLusingCPLEXOptimizer