Ipopt  trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
IpReturnCodes_inc.h
Go to the documentation of this file.
00001 /***********************************************************************
00002 // Copyright (C) 2004, 2009 International Business Machines and others.
00003 // All Rights Reserved.
00004 // This code is published under the Eclipse Public License.
00005 //
00006 // $Id$
00007 //
00008 // Authors:  Carl Laird, Andreas Waechter     IBM    2004-08-13
00009 ************************************************************************/
00010 
00011 /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
00012 /* !!!!!!!!! REMEMBER TO UPDATE IpReturnCodes.inc and Ipopt.java !!!!!!!! */
00013 /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
00014 
00016 enum ApplicationReturnStatus
00017   {
00018     Solve_Succeeded=0,
00019     Solved_To_Acceptable_Level=1,
00020     Infeasible_Problem_Detected=2,
00021     Search_Direction_Becomes_Too_Small=3,
00022     Diverging_Iterates=4,
00023     User_Requested_Stop=5,
00024     Feasible_Point_Found=6,
00025 
00026     Maximum_Iterations_Exceeded=-1,
00027     Restoration_Failed=-2,
00028     Error_In_Step_Computation=-3,
00029     Maximum_CpuTime_Exceeded=-4,
00030     Not_Enough_Degrees_Of_Freedom=-10,
00031     Invalid_Problem_Definition=-11,
00032     Invalid_Option=-12,
00033     Invalid_Number_Detected=-13,
00034 
00035     Unrecoverable_Exception=-100,
00036     NonIpopt_Exception_Thrown=-101,
00037     Insufficient_Memory=-102,
00038     Internal_Error=-199
00039   };
00040 
00042 enum AlgorithmMode
00043   {
00044     RegularMode=0,
00045     RestorationPhaseMode=1
00046   };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines