1 // SWIG file Ipopt.i 2 3 %{ 4 #include "openturns/Ipopt.hxx" 5 %} 6 7 %include Ipopt_doc.i 8 9 %include openturns/Ipopt.hxx 10 Ipopt(const Ipopt & other)11 namespace OT { %extend Ipopt { Ipopt(const Ipopt & other) { return new OT::Ipopt(other); } } } 12