Custom Query (122 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (76 - 78 of 122)

Ticket Resolution Summary Owner Reporter
#92 invalid Cbc compilation problem.. stefan chtsolak
Description

I am a student and i make research. I use windows 7 and MS visual studio 2010 ultimate.

I want to run gamsTest.cpp which is in Cbc-2.7.4\Cbc\test directory in Cbc package, in order to compare with the gams model.

I make a new visual studio project and i copy-paste the code in the source code .cpp file.

But during the compilation i get many errors about the .hpp files

One of the, common between them errors, is:

" 11 IntelliSense?: cannot open source file "CoinError?.hpp" c:\users\christos\desktop\dipl\dipl_test\dipl_test\dipl_test.cpp 14 1 dipl_test "

Maybe i did not understand the concept of the way should be compiled, and all the above are irrelevant...

Please enlight me. Thank you in advance.

#100 invalid Compilation error using MSVS2010 - for file IpStdFInterface.c stefan dhavaljdave
Description

Getting following error while compiling lpStdFInterface.c

1>..\..\..\src\Interfaces\IpStdFInterface.c(229): error C2091: function returns function 1>..\..\..\src\Interfaces\IpStdFInterface.c(231): error C2065: 'N' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(231): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(232): error C2065: 'M' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(232): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(233): error C2065: 'NELE_JAC' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(233): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(234): error C2065: 'NELE_HESS' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(234): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(235): error C2065: 'IDX_STY' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(235): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(243): error C2065: 'X_L' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(243): warning C4047: 'function' : 'Number *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(243): warning C4024: 'CreateIpoptProblem?' : different types for formal and actual parameter 2 1>..\..\..\src\Interfaces\IpStdFInterface.c(243): error C2065: 'X_U' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(243): warning C4047: 'function' : 'Number *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(243): warning C4024: 'CreateIpoptProblem?' : different types for formal and actual parameter 3 1>..\..\..\src\Interfaces\IpStdFInterface.c(243): error C2065: 'G_L' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(243): warning C4047: 'function' : 'Number *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(243): warning C4024: 'CreateIpoptProblem?' : different types for formal and actual parameter 5 1>..\..\..\src\Interfaces\IpStdFInterface.c(243): error C2065: 'G_U' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(243): warning C4047: 'function' : 'Number *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(243): warning C4024: 'CreateIpoptProblem?' : different types for formal and actual parameter 6 1>..\..\..\src\Interfaces\IpStdFInterface.c(252): error C2065: 'EVAL_F' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(252): warning C4047: '=' : 'FEval_F_CB' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(253): error C2065: 'EVAL_G' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(253): warning C4047: '=' : 'FEval_G_CB' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(254): error C2065: 'EVAL_GRAD_F' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(254): warning C4047: '=' : 'FEval_Grad_F_CB' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(255): error C2065: 'EVAL_JAC_G' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(255): warning C4047: '=' : 'FEval_Jac_G_CB' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(256): error C2065: 'EVAL_HESS' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(256): warning C4047: '=' : 'FEval_Hess_CB' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(259): warning C4047: 'return' : 'fptr (*)(fint *,fdouble *,fdouble *,fint *,fdouble *,fdouble *,fint *,fint *,fint *,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'fptr' 1>..\..\..\src\Interfaces\IpStdFInterface.c(263): error C2091: function returns function 1>..\..\..\src\Interfaces\IpStdFInterface.c(264): error C2371: 'F77_FUNC' : redefinition; different basic types 1> ..\..\..\src\Interfaces\IpStdFInterface.c(215) : see declaration of 'F77_FUNC' 1>..\..\..\src\Interfaces\IpStdFInterface.c(265): error C2065: 'FProblem' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(265): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(270): error C2065: 'FProblem' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(270): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(282): error C2091: function returns function 1>..\..\..\src\Interfaces\IpStdFInterface.c(283): warning C4142: benign redefinition of type 1>..\..\..\src\Interfaces\IpStdFInterface.c(284): error C2065: 'FProblem' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(284): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(287): error C2065: 'IDAT' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(287): warning C4047: '=' : 'fint *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(288): error C2065: 'DDAT' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(288): warning C4047: '=' : 'fdouble *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(291): error C2065: 'X' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(291): warning C4047: 'function' : 'Number *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(291): warning C4024: 'IpoptSolve?' : different types for formal and actual parameter 2 1>..\..\..\src\Interfaces\IpStdFInterface.c(291): error C2065: 'G' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(291): warning C4047: 'function' : 'Number *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(291): warning C4024: 'IpoptSolve?' : different types for formal and actual parameter 3 1>..\..\..\src\Interfaces\IpStdFInterface.c(291): error C2065: 'OBJ_VAL' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(291): warning C4047: 'function' : 'Number *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(291): warning C4024: 'IpoptSolve?' : different types for formal and actual parameter 4 1>..\..\..\src\Interfaces\IpStdFInterface.c(292): error C2065: 'MULT_G' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(292): warning C4047: 'function' : 'Number *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(292): warning C4024: 'IpoptSolve?' : different types for formal and actual parameter 5 1>..\..\..\src\Interfaces\IpStdFInterface.c(292): error C2065: 'MULT_X_L' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(292): warning C4047: 'function' : 'Number *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(292): warning C4024: 'IpoptSolve?' : different types for formal and actual parameter 6 1>..\..\..\src\Interfaces\IpStdFInterface.c(292): error C2065: 'MULT_X_U' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(292): warning C4047: 'function' : 'Number *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(292): warning C4024: 'IpoptSolve?' : different types for formal and actual parameter 7 1>..\..\..\src\Interfaces\IpStdFInterface.c(292): warning C4047: 'return' : 'fptr (*)(fint *,fdouble *,fdouble *,fint *,fdouble *,fdouble *,fint *,fint *,fint *,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(317): error C2091: function returns function 1>..\..\..\src\Interfaces\IpStdFInterface.c(318): warning C4142: benign redefinition of type 1>..\..\..\src\Interfaces\IpStdFInterface.c(321): error C2065: 'FProblem' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(321): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(324): error C2065: 'KEYWORD' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(324): warning C4047: 'function' : 'char *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(324): warning C4024: 'f2cstr' : different types for formal and actual parameter 1 1>..\..\..\src\Interfaces\IpStdFInterface.c(324): error C2065: 'klen' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(325): error C2065: 'VALUE' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(325): warning C4047: 'function' : 'char *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(325): warning C4024: 'f2cstr' : different types for formal and actual parameter 1 1>..\..\..\src\Interfaces\IpStdFInterface.c(325): error C2065: 'vlen' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(333): warning C4047: 'return' : 'fptr (*)(fint *,fdouble *,fdouble *,fint *,fdouble *,fdouble *,fint *,fint *,fint *,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>..\..\..\src\Interfaces\IpStdFInterface.c(336): warning C4047: 'return' : 'fptr (*)(fint *,fdouble *,fdouble *,fint *,fdouble *,fdouble *,fint *,fint *,fint *,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>..\..\..\src\Interfaces\IpStdFInterface.c(344): error C2091: function returns function 1>..\..\..\src\Interfaces\IpStdFInterface.c(345): warning C4142: benign redefinition of type 1>..\..\..\src\Interfaces\IpStdFInterface.c(347): error C2065: 'FProblem' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(347): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(350): error C2065: 'KEYWORD' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(350): warning C4047: 'function' : 'char *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(350): warning C4024: 'f2cstr' : different types for formal and actual parameter 1 1>..\..\..\src\Interfaces\IpStdFInterface.c(350): error C2065: 'klen' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(352): error C2065: 'VALUE' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(352): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(357): warning C4047: 'return' : 'fptr (*)(fint *,fdouble *,fdouble *,fint *,fdouble *,fdouble *,fint *,fint *,fint *,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>..\..\..\src\Interfaces\IpStdFInterface.c(360): warning C4047: 'return' : 'fptr (*)(fint *,fdouble *,fdouble *,fint *,fdouble *,fdouble *,fint *,fint *,fint *,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>..\..\..\src\Interfaces\IpStdFInterface.c(368): error C2091: function returns function 1>..\..\..\src\Interfaces\IpStdFInterface.c(369): warning C4142: benign redefinition of type 1>..\..\..\src\Interfaces\IpStdFInterface.c(371): error C2065: 'FProblem' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(371): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(372): error C2065: 'VALUE' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(372): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(375): error C2065: 'KEYWORD' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(375): warning C4047: 'function' : 'char *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(375): warning C4024: 'f2cstr' : different types for formal and actual parameter 1 1>..\..\..\src\Interfaces\IpStdFInterface.c(375): error C2065: 'klen' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(382): warning C4047: 'return' : 'fptr (*)(fint *,fdouble *,fdouble *,fint *,fdouble *,fdouble *,fint *,fint *,fint *,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>..\..\..\src\Interfaces\IpStdFInterface.c(385): warning C4047: 'return' : 'fptr (*)(fint *,fdouble *,fdouble *,fint *,fdouble *,fdouble *,fint *,fint *,fint *,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>..\..\..\src\Interfaces\IpStdFInterface.c(393): error C2091: function returns function 1>..\..\..\src\Interfaces\IpStdFInterface.c(394): warning C4142: benign redefinition of type 1>..\..\..\src\Interfaces\IpStdFInterface.c(396): error C2065: 'FProblem' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(396): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(397): error C2065: 'PRINTLEVEL' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(397): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(400): error C2065: 'FILENAME' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(400): warning C4047: 'function' : 'char *' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(400): warning C4024: 'f2cstr' : different types for formal and actual parameter 1 1>..\..\..\src\Interfaces\IpStdFInterface.c(400): error C2065: 'flen' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(407): warning C4047: 'return' : 'fptr (*)(fint *,fdouble *,fdouble *,fint *,fdouble *,fdouble *,fint *,fint *,fint *,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>..\..\..\src\Interfaces\IpStdFInterface.c(410): warning C4047: 'return' : 'fptr (*)(fint *,fdouble *,fdouble *,fint *,fdouble *,fdouble *,fint *,fint *,fint *,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>..\..\..\src\Interfaces\IpStdFInterface.c(416): error C2091: function returns function 1>..\..\..\src\Interfaces\IpStdFInterface.c(417): error C2371: 'F77_FUNC' : redefinition; different basic types 1> ..\..\..\src\Interfaces\IpStdFInterface.c(215) : see declaration of 'F77_FUNC' 1>..\..\..\src\Interfaces\IpStdFInterface.c(418): error C2065: 'FProblem' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(418): error C2100: illegal indirection 1>..\..\..\src\Interfaces\IpStdFInterface.c(419): error C2065: 'inter_cb' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(419): warning C4047: '=' : 'FIntermediate_CB' differs in levels of indirection from 'int' 1>..\..\..\src\Interfaces\IpStdFInterface.c(424): error C2091: function returns function 1>..\..\..\src\Interfaces\IpStdFInterface.c(425): error C2371: 'F77_FUNC' : redefinition; different basic types 1> ..\..\..\src\Interfaces\IpStdFInterface.c(215) : see declaration of 'F77_FUNC' 1>..\..\..\src\Interfaces\IpStdFInterface.c(426): error C2065: 'FProblem' : undeclared identifier 1>..\..\..\src\Interfaces\IpStdFInterface.c(426): error C2100: illegal indirection

#106 invalid [Ipopt] Using ipopt with PARDISO --- Sep 2013 stefan sorakid
Description

Dear All,

I used to use IPOPT (3.10.4) with MA57 on my problems and it works fine. Now I want to use IPOPT with Pardiso but the problem is I cannot compile them together.

I had read several tickets about this issue (e.g: http://list.coin-or.org/pipermail/ipopt/2010-May/002028.html), but it seems none can solve my problem.

From previous tickets, I understand that I need to get GotoBlas? which is not supported anymore. As an alternative, I installed OpenBlas?, which is an update version of GotoBlas?. I tried to use following commands to compile it but both failed: %../configure --with-pardiso="-L$PATHTOPARDISO/libpardiso495-GNU463-X86-64.so -L$PATHTOOPENBLAS/libopenblas.a -L$PATHTOGOMP/libgomp.a"

%../configure --with-pardiso="-qsmp=omp $PATHTOPARDISO/libpardiso495-GNU463-X86-64.so -L$PATHTOOPENBLAS/libopenblas.a "

The error message is: checking whether user-supplied Pardiso library "-L$PATHTOPARDISO/libpardiso495-GNU463-X86-64.so -L$PATHTOOPENBLAS/libopenblas.a -L$PATHTOGOMP/libgomp.a" works... configure: error: Pardiso library -L$PATHTOPARDISO/libpardiso495-GNU463-X86-64.so -L$PATHTOOPENBLAS/libopenblas.a -L$PATHTOGOMP/libgomp.a does not seem to work

I also tried to check the config.log file, but please forgive me that I cannot figure out the problem. It just shows: %configure:23370: error: /bin/bash '../../Ipopt/configure' failed for Ipopt

I also attached the log file to this ticket and hope someone can help me to compile it. I appreciate your time and help in advance. ;-)

Cheers,

Ny

Note: See TracQuery for help on using queries.