IpAlgTypes.hpp

Go to the documentation of this file.
00001 // Copyright (C) 2005, 2006 International Business Machines and others.
00002 // All Rights Reserved.
00003 // This code is published under the Common Public License.
00004 //
00005 // $Id: IpAlgTypes.hpp 759 2006-07-07 03:07:08Z 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     STOP_AT_TINY_STEP,
00026     STOP_AT_ACCEPTABLE_POINT,
00027     LOCAL_INFEASIBILITY,
00028     USER_REQUESTED_STOP,
00029     DIVERGING_ITERATES,
00030     RESTORATION_FAILURE,
00031     ERROR_IN_STEP_COMPUTATION,
00032     INVALID_NUMBER_DETECTED,
00033     TOO_FEW_DEGREES_OF_FREEDOM,
00034     INTERNAL_ERROR
00035   };
00037 
00040   DECLARE_STD_EXCEPTION(LOCALLY_INFEASIBLE);
00041   DECLARE_STD_EXCEPTION(TOO_FEW_DOF);
00042   DECLARE_STD_EXCEPTION(TINY_STEP_DETECTED);
00043   DECLARE_STD_EXCEPTION(ACCEPTABLE_POINT_REACHED);
00044   DECLARE_STD_EXCEPTION(FEASIBILITY_PROBLEM_SOLVED);
00045   DECLARE_STD_EXCEPTION(INVALID_WARMSTART);
00046   DECLARE_STD_EXCEPTION(INTERNAL_ABORT);
00052   DECLARE_STD_EXCEPTION(FAILED_INITIALIZATION);
00054 
00055 
00056 }
00057 
00058 #endif

Generated on Fri Sep 26 07:44:10 2008 for SimTKcore by  doxygen 1.5.6