Number of variables : 76 of which are fixed : 4 Number of constraints : 61 Number of lower bounds : 20 Number of upper bounds : 20 Number of nonzeros in Jacobian: 1235 Number of nonzeros in Hessian : 38 ITER ERR MU ||C|| ||D|| ALFA(X) #LS F Regu 0 .1#RE+01c .100E+00 .230E+03 .000E+00 .000E+00 0 0.10000000E+01 .000E+00 get_step_full: NanInf in solution of linear system get_step_full: NanInf in solution of linear system get_step_full: NanInf in solution of linear system get_step_full: NanInf in solution of linear system Regularization parameter getting too large (a): 100. 1 .1#RE+01c .818E+02 .230E+03 .000E+00 .000E+00- 0 0.10000000E+01 .000E+00 get_step_full: NaN or Inf found in KKT matrix. solve_barrier: get_step_full returns IERR = 11 mainloop: Error: solve_barrier ends with IERR = 11 Number of iterations taken ............. 1 Final value of objective function is.... 0.1000000000000000E+01 Errors at final point (scaled) (unscaled) Final maximal constraint violation is... 0.817849E+02 0.275550E+05 Final value for dual infeasibility is... 0.000000E+00 0.000000E+00 Final value of complementarity error is. 0.1#QNANE+01 0.1#QNANE+01 The objective function was evaluated 1 times. The constraints were evaluated 1 times. EXIT: NaN or Inf occured CPU seconds spent in IPOPT and function evaluations = 0.0938 WARNING: An error has occurred after 1 iterations The error code is 11 ------------------------------------------------------------------------ Assertion detected at Thu Mar 09 17:32:58 2006 ------------------------------------------------------------------------ Assertion failed: hdr->in_use != 0, at line 1218 of file ".\mwmem.c". Attempt to free previously freed memory Configuration: MATLAB Version: 6.5.0.180913a (R13) Operating System: Microsoft Windows XP Window System: Version 5.1 (Build 2600: Service Pack 2) Processor ID: x86 Family 15 Model 15 Stepping 2, AuthenticAMD Virtual Machine: Java 1.3.1_01 with Sun Microsystems Inc. Java HotSpot(TM) Client VM (mixed mode) Stack Trace: [0] matlab.exe:_mnSignalHandler(0xffffffff, 0, 0, 1) + 592 bytes [1] matlab.exe:void __cdecl ThrowAssertion(void)(0, 0x7a748ba0, 0x65737341, 0x6f697472) + 162 bytes [2] matlab.exe:void __cdecl MATLABAssertFcn(char const *,char const *,int,char const *)(0x7a741868 ": hdr->in_use != 0,", 0x7a74100c ".\mwmem.c", 1218, 0x7a741938 "Attempt to free previously freed..") + 131 bytes [3] libut.dll:_ut_assertstr(0x7a741868 ": hdr->in_use != 0,", 0x7a74100c ".\mwmem.c", 1218, 0x7a741938 "Attempt to free previously freed..") + 25 bytes [4] libut.dll:_mw_free(0x15b2dbd8, 0x15b2dbd8, 0x15b2d7b8, 0x00dfc228) + 542 bytes [5] libut.dll:_utFree(0x15b2dbd8, 0x00dfc4c8, 0x109e2b7d, 0x15b2dbd8) + 25 bytes [6] libmx.dll:_mxFree(0x15b2dbd8, 1, 0, 0) + 32 bytes [7] Ipopt.dll:0x109e2b7d(8, 0x00dfc874, 16, 0x00dfc978) [8] libmex.dll:_mexRunMexFile(8, 0x00dfc874, 16, 0x00dfc978) + 71 bytes [9] m_interpreter.dll:void __cdecl inCallMexFunction(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const,void (__cdecl*)(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const),struct _mex_context *,struct mexfiles *)(8, 0x00dfc874, 16, 0x00dfc978) + 476 bytes [10] m_interpreter.dll:void __cdecl inRunMexFile(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const,struct mexfiles *)(8, 0x00dfc874, 16, 0x00dfc978) + 126 bytes [11] m_interpreter.dll:void __cdecl inExecMexFile(int,int,struct mxArray_tag * * const,struct MATLAB_Function_tag *)(8, 16, 0x00dfc978, 0x015d3ce0) + 82 bytes [12] m_interpreter.dll:_inExecFunction(8, 16, 0x00dfc978, 0x015d3ce0) + 38 bytes [13] m_interpreter.dll:_inMMexExecute(574, 0x015d3ce0, 8, 16) + 533 bytes [14] m_interpreter.dll:enum opcodes __cdecl inMMex(char const *,int,int,int,int *,int *)(0x01523cb4 "Ipopt", 0, 8, 16) + 94 bytes [15] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,struct inPcodeNest_tag volatile *)(1, 111, 0, 0x014ae940) + 1982 bytes [16] m_interpreter.dll:_inInterPcode(1, 0x00dfcdc0, 0, 0x15b1e668) + 193 bytes [17] m_interpreter.dll:_inExecCompScript(0x15b1e668, 0x15b1e668, 0x00dfd3cc, 0x00dfd698) + 991 bytes [18] m_interpreter.dll:bool __cdecl inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct word *,bool)(0, 0x00dfd3cc, 0, 0x00dfd6d4) + 106 bytes [19] m_interpreter.dll:void __cdecl inExecMFile(int,int,struct mxArray_tag * * const,struct MATLAB_Function_tag *)(0, 0, 0x00dfd6d4, 0x15b1e668) + 70 bytes [20] m_interpreter.dll:_inExecFunction(0, 0, 0x00dfd6d4, 0x15b1e668) + 38 bytes [21] m_interpreter.dll:_inMMexExecute(573, 0x15b1e668, 0, 0) + 533 bytes [22] m_interpreter.dll:enum opcodes __cdecl inMMex(char const *,int,int,int,int *,int *)(0x0151e5e4 "runIPOPT", 573, 0, 0) + 94 bytes [23] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,struct inPcodeNest_tag volatile *)(2, 0, 0, 0x014aeaf0) + 2143 bytes [24] m_interpreter.dll:_inInterPcode(2, 0x00dfdc54, 0, 0) + 193 bytes [25] m_interpreter.dll:enum inExecutionStatus __cdecl in_local_call_eval_function(int *,struct _m_parser_interface *,struct _pcodeheader *,int *,struct mxArray_tag * * const,enum inDebugCheck)(0, 0x7a87fa78, 0x00dfdc54, 0x00dfdcf8) + 174 bytes [26] m_interpreter.dll:_inEvalStringWithIsVarFcn(0x15b77b60 "runIPOPT\n", 9, 0, 0) + 531 bytes [27] m_interpreter.dll:_inEvalString(0x15b77b60 "runIPOPT\n", 9, 0, 0) + 50 bytes [28] m_interpreter.dll:enum inExecutionStatus __cdecl inEvalCmdWithLocalReturnandtype(char const *,int *,enum inDebugCheck)(0x15b77b60 "runIPOPT\n", 0, 2, 0x00dfde30) + 68 bytes [29] m_interpreter.dll:_inEvalCmdNoEnd(0x15b77b60 "runIPOPT\n", 1, 0x0047f617, 11) + 16 bytes [30] matlab.exe:_mnParser(0x0187df4c, 271268, 0, 48) + 1001 bytes [31] matlab.exe:_WinMain@16(4194304, 0, 271268, 1) + 3872 bytes [32] matlab.exe:_WinMainCRTStartup(0x0187df4c, 24, 0x7ffd7000, 0x80544dfd) + 308 bytes [33] kernel32.dll:0x7c816d4f(0x0047172c, 0, 0, 0) This error was detected while a MEX-file was running. If the MEX-file is not an official MathWorks function, please examine its source code for errors. Please consult the External Interfaces Guide for information on debugging MEX-files. If it is an official MathWorks function, please follow these steps in reporting this problem to The MathWorks so that we have the best chance of correcting it: 1. Send this crash report to segv@mathworks.com for automated analysis. For your convenience, this information has been recorded in: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\matlab_crash_dump.1888 2. Also, if the problem is reproducible, send the crash report to support@mathworks.com along with: - A specific list of steps that will reproduce the problem - Any M, MEX, MDL or other files required to reproduce the problem - Any error messages displayed prior to this crash report A technical support engineer will contact you with further information. Thank you for your assistance. Please save your workspace and restart MATLAB before continuing your work. ------------------------------------------------------------------------ Assertion detected at Thu Mar 09 17:32:58 2006 ------------------------------------------------------------------------ Assertion failed: hdr->in_use != 0, at line 1218 of file ".\mwmem.c". Attempt to free previously freed memory Configuration: MATLAB Version: 6.5.0.180913a (R13) Operating System: Microsoft Windows XP Window System: Version 5.1 (Build 2600: Service Pack 2) Processor ID: x86 Family 15 Model 15 Stepping 2, AuthenticAMD Virtual Machine: Java 1.3.1_01 with Sun Microsystems Inc. Java HotSpot(TM) Client VM (mixed mode) Stack Trace: [0] matlab.exe:_mnSignalHandler(0xffffffff, 0, 0, 1) + 592 bytes [1] matlab.exe:void __cdecl ThrowAssertion(void)(0, 0x7a748ba0, 0x65737341, 0x6f697472) + 162 bytes [2] matlab.exe:void __cdecl MATLABAssertFcn(char const *,char const *,int,char const *)(0x7a741868 ": hdr->in_use != 0,", 0x7a74100c ".\mwmem.c", 1218, 0x7a741938 "Attempt to free previously freed..") + 131 bytes [3] libut.dll:_ut_assertstr(0x7a741868 ": hdr->in_use != 0,", 0x7a74100c ".\mwmem.c", 1218, 0x7a741938 "Attempt to free previously freed..") + 25 bytes [4] libut.dll:_mw_free(0x183c3d88, 0x7a74466c, 0x00dfc17c, 0x00dfc180) + 542 bytes [5] libut.dll:_utFree(0x183c3d88, 0x7b11c735, 0x0040db8c, 0x0048eb9f) + 25 bytes [6] libmx.dll:_mxFreeAllocListContext(0, 0x7a748ba0, 0x65737341, 0x6f697472) + 31 bytes [7] matlab.exe:void __cdecl MATLABAssertFcn(char const *,char const *,int,char const *)(0x7a741868 ": hdr->in_use != 0,", 0x7a74100c ".\mwmem.c", 1218, 0x7a741938 "Attempt to free previously freed..") + 131 bytes [8] libut.dll:_ut_assertstr(0x7a741868 ": hdr->in_use != 0,", 0x7a74100c ".\mwmem.c", 1218, 0x7a741938 "Attempt to free previously freed..") + 25 bytes [9] libut.dll:_mw_free(0x15b2dbd8, 0x15b2dbd8, 0x15b2d7b8 "?in_local_call_eval_function@@YA..", 0x00dfc228) + 542 bytes [10] libut.dll:_utFree(0x15b2dbd8, 0x00dfc4c8, 0x109e2b7d, 0x15b2dbd8) + 25 bytes [11] libmx.dll:_mxFree(0x15b2dbd8, 1, 0, 0) + 32 bytes [12] Ipopt.dll:0x109e2b7d(8, 0x00dfc874, 16, 0x00dfc978) [13] libmex.dll:_mexRunMexFile(8, 0x00dfc874, 16, 0x00dfc978) + 71 bytes [14] m_interpreter.dll:void __cdecl inCallMexFunction(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const,void (__cdecl*)(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const),struct _mex_context *,struct mexfiles *)(8, 0x00dfc874, 16, 0x00dfc978) + 476 bytes [15] m_interpreter.dll:void __cdecl inRunMexFile(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const,struct mexfiles *)(8, 0x00dfc874, 16, 0x00dfc978) + 126 bytes [16] m_interpreter.dll:void __cdecl inExecMexFile(int,int,struct mxArray_tag * * const,struct MATLAB_Function_tag *)(8, 16, 0x00dfc978, 0x015d3ce0) + 82 bytes [17] m_interpreter.dll:_inExecFunction(8, 16, 0x00dfc978, 0x015d3ce0) + 38 bytes [18] m_interpreter.dll:_inMMexExecute(574, 0x015d3ce0, 8, 16) + 533 bytes [19] m_interpreter.dll:enum opcodes __cdecl inMMex(char const *,int,int,int,int *,int *)(0x01523cb4 "Ipopt", 0, 8, 16) + 94 bytes [20] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,struct inPcodeNest_tag volatile *)(1, 111, 0, 0x014ae940) + 1982 bytes [21] m_interpreter.dll:_inInterPcode(1, 0x00dfcdc0, 0, 0x15b1e668) + 193 bytes [22] m_interpreter.dll:_inExecCompScript(0x15b1e668, 0x15b1e668, 0x00dfd3cc, 0x00dfd698) + 991 bytes [23] m_interpreter.dll:bool __cdecl inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct word *,bool)(0, 0x00dfd3cc, 0, 0x00dfd6d4) + 106 bytes [24] m_interpreter.dll:void __cdecl inExecMFile(int,int,struct mxArray_tag * * const,struct MATLAB_Function_tag *)(0, 0, 0x00dfd6d4, 0x15b1e668) + 70 bytes [25] m_interpreter.dll:_inExecFunction(0, 0, 0x00dfd6d4, 0x15b1e668) + 38 bytes [26] m_interpreter.dll:_inMMexExecute(573, 0x15b1e668, 0, 0) + 533 bytes [27] m_interpreter.dll:enum opcodes __cdecl inMMex(char const *,int,int,int,int *,int *)(0x0151e5e4 "runIPOPT", 573, 0, 0) + 94 bytes [28] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,struct inPcodeNest_tag volatile *)(2, 0, 0, 0x014aeaf0) + 2143 bytes [29] m_interpreter.dll:_inInterPcode(2, 0x00dfdc54, 0, 0) + 193 bytes [30] m_interpreter.dll:enum inExecutionStatus __cdecl in_local_call_eval_function(int *,struct _m_parser_interface *,struct _pcodeheader *,int *,struct mxArray_tag * * const,enum inDebugCheck)(0, 0x7a87fa78, 0x00dfdc54, 0x00dfdcf8) + 174 bytes [31] m_interpreter.dll:_inEvalStringWithIsVarFcn(0x15b77b60 "runIPOPT\n", 9, 0, 0) + 531 bytes [32] m_interpreter.dll:_inEvalString(0x15b77b60 "runIPOPT\n", 9, 0, 0) + 50 bytes [33] m_interpreter.dll:enum inExecutionStatus __cdecl inEvalCmdWithLocalReturnandtype(char const *,int *,enum inDebugCheck)(0x15b77b60 "runIPOPT\n", 0, 2, 0x00dfde30) + 68 bytes [34] m_interpreter.dll:_inEvalCmdNoEnd(0x15b77b60 "runIPOPT\n", 1, 0x0047f617, 11) + 16 bytes [35] matlab.exe:_mnParser(0x0187df4c, 271268, 0, 48) + 1001 bytes [36] matlab.exe:_WinMain@16(4194304, 0, 271268, 1) + 3872 bytes [37] matlab.exe:_WinMainCRTStartup(0x0187df4c, 24, 0x7ffd7000, 0x80544dfd) + 308 bytes [38] kernel32.dll:0x7c816d4f(0x0047172c, 0, 0, 0) This error was detected while a MEX-file was running. If the MEX-file is not an official MathWorks function, please examine its source code for errors. Please consult the External Interfaces Guide for information on debugging MEX-files. If it is an official MathWorks function, please follow these steps in reporting this problem to The MathWorks so that we have the best chance of correcting it: 1. Send this crash report to segv@mathworks.com for automated analysis. For your convenience, this information has been recorded in: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\matlab_crash_dump.1888 2. Also, if the problem is reproducible, send the crash report to support@mathworks.com along with: - A specific list of steps that will reproduce the problem - Any M, MEX, MDL or other files required to reproduce the problem - Any error messages displayed prior to this crash report A technical support engineer will contact you with further information. Thank you for your assistance. Please save your workspace and restart MATLAB before continuing your work. Error in ==> f:\maths\ipopt\ex4\Ipopt.dll Error in ==> f:\maths\ipopt\ex4\runIPOPT.m On line 111 ==> [Xfinal,ObjFinal,mlb,mub,lambda,info,XInfo,ObjInfo] =Ipopt('eval_f','eval_c','fd','eval_a', ...