User Profile
Collapse
-
Please I need your help -
@dev7060
I said that I use IPOPT and I implement a simple example to compile the program and I define a virtual function in base class (please see above) and redefine it in the derived one by attributing values to sae members, and when I call this function to print these value on the console the results are aa_01_=0 and ab_01_=0 . I use a pointer to base class but it does not give anything. I want to know how can I call functions implemented...Leave a comment:
-
Derived class fail to be called first from the base one
I use Ipopt C++ project and I want to use it to solve my problem. I created a derived class from the base one and and I created a virtual function in the base class to modify it in the derived one by doing the following:
using namespace Ipopt;
base class : public TNLP
{
base class();
virtual ~base class();
public:
//I want fisrt to apply the routine to my problem, and I have to... -
Derived class fail to be called first from the base one
I use Ipopt C++ project and I want to use it to solve my problem. I created a derived class from the base one and and I created a virtual function in the base class to modify it in the derived one by doing the following:
...Code:using namespace Ipopt; class base : public TNLP { base(); virtual ~base(); public: //I want fisrt to apply the routine to my problem, and I have to creat many
No activity results to display
Show More
Leave a comment: