- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

# /home/coin/SVN-release/Ipopt-3.7.1/Ipopt/src/Interfaces/IpAlgTypes.hpp

Go to the documentation of this file.

    00001 // Copyright (C) 2005, 2009 International Business Machines and others.
    00002 // All Rights Reserved.
    00003 // This code is published under the Common Public License.
    00004 //
    00005 // $Id: IpAlgTypes.hpp 1430 2009-04-20 20:58:25Z andreasw $
    00006 //
    00007 // Authors:  Carl Laird, Andreas Waechter     IBM    2005-07-19
    00008
    00009 #ifndef __IPALGTYPES_HPP__
    00010 #define __IPALGTYPES_HPP__
    00011
    00012 #include "IpTypes.hpp"
    00013 #include "IpException.hpp"
    00014
    00015 namespace Ipopt
    00016 {
    00017
    00022   enum SolverReturn {
    00023     SUCCESS,
    00024     MAXITER_EXCEEDED,
    00025     CPUTIME_EXCEEDED,
    00026     STOP_AT_TINY_STEP,
    00027     STOP_AT_ACCEPTABLE_POINT,
    00028     LOCAL_INFEASIBILITY,
    00029     USER_REQUESTED_STOP,
    00030     FEASIBLE_POINT_FOUND,
    00031     DIVERGING_ITERATES,
    00032     RESTORATION_FAILURE,
    00033     ERROR_IN_STEP_COMPUTATION,
    00034     INVALID_NUMBER_DETECTED,
    00035     TOO_FEW_DEGREES_OF_FREEDOM,
    00036     INVALID_OPTION,
    00037     OUT_OF_MEMORY,
    00038     INTERNAL_ERROR
    00039   };
    00041
    00044   DECLARE_STD_EXCEPTION(LOCALLY_INFEASIBLE);
    00045   DECLARE_STD_EXCEPTION(TOO_FEW_DOF);
    00046   DECLARE_STD_EXCEPTION(TINY_STEP_DETECTED);
    00047   DECLARE_STD_EXCEPTION(ACCEPTABLE_POINT_REACHED);
    00048   DECLARE_STD_EXCEPTION(FEASIBILITY_PROBLEM_SOLVED);
    00049   DECLARE_STD_EXCEPTION(INVALID_WARMSTART);
    00050   DECLARE_STD_EXCEPTION(INTERNAL_ABORT);
    00051   DECLARE_STD_EXCEPTION(NO_FREE_VARIABLES_BUT_FEASIBLE);
    00052   DECLARE_STD_EXCEPTION(NO_FREE_VARIABLES_AND_INFEASIBLE);
    00058   DECLARE_STD_EXCEPTION(FAILED_INITIALIZATION);
    00060
    00061
    00062 }
    00063
    00064 #endif