- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

# /home/coin/SVN-release/Ipopt-3.2.1/Ipopt/src/Interfaces/IpReturnCodes_inc.h

Go to the documentation of this file.

    00001 /***********************************************************************
    00002 // Copyright (C) 2004, 2006 International Business Machines and others.
    00003 // All Rights Reserved.
    00004 // This code is published under the Common Public License.
    00005 //
    00006 // $Id: IpReturnCodes_inc.h 759 2006-07-07 03:07:08Z andreasw $
    00007 //
    00008 // Authors:  Carl Laird, Andreas Waechter     IBM    2004-08-13
    00009 ************************************************************************/
    00010
    00011 /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
    00012 /* !!!!!!!!!!!!!!!! REMEMBER TO UPDATE IpReturnCodes.inc !!!!!!!!!!!!!!!! */
    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
    00025     Maximum_Iterations_Exceeded=-1,
    00026     Restoration_Failed=-2,
    00027     Error_In_Step_Computation=-3,
    00028     Not_Enough_Degrees_Of_Freedom=-10,
    00029     Invalid_Problem_Definition=-11,
    00030     Invalid_Option=-12,
    00031     Invalid_Number_Detected=-13,
    00032
    00033     Unrecoverable_Exception=-100,
    00034     NonIpopt_Exception_Thrown=-101,
    00035     Insufficient_Memory=-102,
    00036     Internal_Error=-199
    00037   };
    00038
    00040 enum AlgorithmMode
    00041   {
    00042     RegularMode=0,
    00043     RestorationPhaseMode=1
    00044   };