IpAlgTypes.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
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