AnsweredAssumed Answered

BCL with cpp

Question asked by krau.stephane@ouranos.ca on Apr 28, 2016
Latest reply on Apr 29, 2016 by Susanne.Heip

Hi,

 

I simply test my recent xpress/BCL installation with the simple C++ program below.

#include "xprb_cpp.h"

using namespace std;

using namespace ::dashoptimization;

 

int main()

{

 

    XPRBprob prob;

   prob = XPRBnewprob("MyProb");   

}

 

At line : prob = XPRBnewprob("MyProb"),

the following message under equal sign occur:

Error:  no operator "=" matches these operands

operand types are:dashoptimization::XPRBprob= Xbprob*

 

May anybody helps me ?

 

Thank you!

Outcomes