/home/coin/SVN-release/CoinAll-1.1.0/Ipopt/src/Interfaces/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 1219 2008-04-25 18:14:35Z 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     FEASIBLE_POINT_FOUND,
00030     DIVERGING_ITERATES,
00031     RESTORATION_FAILURE,
00032     ERROR_IN_STEP_COMPUTATION,
00033     INVALID_NUMBER_DETECTED,
00034     TOO_FEW_DEGREES_OF_FREEDOM,
00035     INTERNAL_ERROR
00036   };
00038 
00041   DECLARE_STD_EXCEPTION(LOCALLY_INFEASIBLE);
00042   DECLARE_STD_EXCEPTION(TOO_FEW_DOF);
00043   DECLARE_STD_EXCEPTION(TINY_STEP_DETECTED);
00044   DECLARE_STD_EXCEPTION(ACCEPTABLE_POINT_REACHED);
00045   DECLARE_STD_EXCEPTION(FEASIBILITY_PROBLEM_SOLVED);
00046   DECLARE_STD_EXCEPTION(INVALID_WARMSTART);
00047   DECLARE_STD_EXCEPTION(INTERNAL_ABORT);
00048   DECLARE_STD_EXCEPTION(NO_FREE_VARIABLES_BUT_FEASIBLE);
00049   DECLARE_STD_EXCEPTION(NO_FREE_VARIABLES_AND_INFEASIBLE);
00055   DECLARE_STD_EXCEPTION(FAILED_INITIALIZATION);
00057 
00058 
00059 }
00060 
00061 #endif

Generated on Sun Nov 14 14:06:36 2010 for Coin-All by  doxygen 1.4.7