[Ipopt] does namespace std have conflict with Ipopt namespace ?
Sourav Rakshit
srakshit at mecheng.iisc.ernet.in
Fri Dec 18 10:58:21 EST 2009
Hi all,
I am using C++ for solving problems with ipopt. When I ran the standard
hs071_nlp program with namespace std it gave me the following error:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000404570 in HS071_NLP::eval_jac_g(int, double const*, bool, int,
int, int*, int*, double*) ()
However, when I dont use namespace std, the same program runs fine.
If I cannot use namespace std how can I include vector & string classes ?
I am getting error when I am defining vector & strings using Ipopt
namespace only.
thanks,
Sourav
--
S.Rakshit
PhD student
Mechanical Engg. Dept.
IISc
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Ipopt
mailing list