Using OPL CPLEX in Excel VBA?
问题 I'd like to call OPL CPLEX and solve problems in a program coded on Excel VBA. I want to create an OPL model and, load .mod and .dat file into that model. After a long search process on the internet, I came up with some lines of script below released on IBM website. Sub CPLEXCallHere() 'To create the Concert environment Dim oplF As Oplfactory 'To create the error handler Dim errorHandler As OplErrorHandler 'To identify the model source Dim modelSource As OplModelSource 'To identify the model