Ipopt 3.11.9
Loading...
Searching...
No Matches
IpAlgTypes.hpp
Go to the documentation of this file.
1// Copyright (C) 2005, 2010 International Business Machines and others.
2// All Rights Reserved.
3// This code is published under the Eclipse Public License.
4//
5// $Id: IpAlgTypes.hpp 1861 2010-12-21 21:34:47Z andreasw $
6//
7// Authors: Carl Laird, Andreas Waechter IBM 2005-07-19
8
9#ifndef __IPALGTYPES_HPP__
10#define __IPALGTYPES_HPP__
11
12#include "IpTypes.hpp"
13#include "IpException.hpp"
14
15namespace Ipopt
16{
17
42
45 DECLARE_STD_EXCEPTION(LOCALLY_INFEASIBLE);
47 DECLARE_STD_EXCEPTION(TINY_STEP_DETECTED);
48 DECLARE_STD_EXCEPTION(ACCEPTABLE_POINT_REACHED);
49 DECLARE_STD_EXCEPTION(FEASIBILITY_PROBLEM_SOLVED);
50 DECLARE_STD_EXCEPTION(INVALID_WARMSTART);
51 DECLARE_STD_EXCEPTION(INTERNAL_ABORT);
52 DECLARE_STD_EXCEPTION(NO_FREE_VARIABLES_BUT_FEASIBLE);
53 DECLARE_STD_EXCEPTION(NO_FREE_VARIABLES_AND_INFEASIBLE);
59 DECLARE_STD_EXCEPTION(FAILED_INITIALIZATION);
61
62
63}
64
65#endif
#define DECLARE_STD_EXCEPTION(__except_type)
SolverReturn
enum for the return from the optimize algorithm (obviously we need to add more)
@ DIVERGING_ITERATES
@ RESTORATION_FAILURE
@ INVALID_OPTION
@ OUT_OF_MEMORY
@ USER_REQUESTED_STOP
@ LOCAL_INFEASIBILITY
@ UNASSIGNED
@ TOO_FEW_DEGREES_OF_FREEDOM
@ INTERNAL_ERROR
@ STOP_AT_TINY_STEP
@ CPUTIME_EXCEEDED
@ FEASIBLE_POINT_FOUND
@ INVALID_NUMBER_DETECTED
@ STOP_AT_ACCEPTABLE_POINT
@ MAXITER_EXCEEDED
@ ERROR_IN_STEP_COMPUTATION