User Profile

Collapse

Profile Sidebar

Collapse
user9212
user9212
Last Activity: Sep 19 '21, 07:40 AM
Joined: Sep 14 '21
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Please I need your help
    See more | Go to post

    Leave a comment:


  • @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...
    See more | Go to post

    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...
    See more | Go to post

  • 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
    ...
    See more | Go to post
    Last edited by Banfa; Sep 20 '21, 03:07 PM. Reason: Added code tags
No activity results to display
Show More
Working...