Ipopt Documentation
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
// Authors: Carl Laird, Andreas Waechter IBM 2005-07-19
6
7
#ifndef __IPALGTYPES_HPP__
8
#define __IPALGTYPES_HPP__
9
10
#include "
IpTypes.hpp
"
11
#include "
IpException.hpp
"
12
13
namespace
Ipopt
14
{
15
17
19
enum
SolverReturn
20
{
21
SUCCESS
,
22
MAXITER_EXCEEDED
,
23
CPUTIME_EXCEEDED
,
24
WALLTIME_EXCEEDED
,
25
STOP_AT_TINY_STEP
,
26
STOP_AT_ACCEPTABLE_POINT
,
27
LOCAL_INFEASIBILITY
,
28
USER_REQUESTED_STOP
,
29
FEASIBLE_POINT_FOUND
,
30
DIVERGING_ITERATES
,
31
RESTORATION_FAILURE
,
32
ERROR_IN_STEP_COMPUTATION
,
33
INVALID_NUMBER_DETECTED
,
34
TOO_FEW_DEGREES_OF_FREEDOM
,
35
INVALID_OPTION
,
36
OUT_OF_MEMORY
,
37
INTERNAL_ERROR
,
38
UNASSIGNED
39
};
41
43
DECLARE_STD_EXCEPTION
(LOCALLY_INFEASIBLE);
45
DECLARE_STD_EXCEPTION
(TOO_FEW_DOF);
46
DECLARE_STD_EXCEPTION
(TINY_STEP_DETECTED);
47
DECLARE_STD_EXCEPTION
(STEP_COMPUTATION_FAILED);
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
(INCONSISTENT_BOUNDS);
59
DECLARE_STD_EXCEPTION
(FAILED_INITIALIZATION);
61
62
}
63
64
#endif
Ipopt::TOO_FEW_DEGREES_OF_FREEDOM
@ TOO_FEW_DEGREES_OF_FREEDOM
Definition:
IpAlgTypes.hpp:34
Ipopt::INVALID_OPTION
@ INVALID_OPTION
Definition:
IpAlgTypes.hpp:35
Ipopt::RESTORATION_FAILURE
@ RESTORATION_FAILURE
Definition:
IpAlgTypes.hpp:31
Ipopt::SUCCESS
@ SUCCESS
Definition:
IpAlgTypes.hpp:21
Ipopt::WALLTIME_EXCEEDED
@ WALLTIME_EXCEEDED
Definition:
IpAlgTypes.hpp:24
Ipopt
This file contains a base class for all exceptions and a set of macros to help with exceptions.
Definition:
IpInexactAlgBuilder.hpp:14
Ipopt::UNASSIGNED
@ UNASSIGNED
Definition:
IpAlgTypes.hpp:38
Ipopt::STOP_AT_ACCEPTABLE_POINT
@ STOP_AT_ACCEPTABLE_POINT
Definition:
IpAlgTypes.hpp:26
Ipopt::DIVERGING_ITERATES
@ DIVERGING_ITERATES
Definition:
IpAlgTypes.hpp:30
Ipopt::OUT_OF_MEMORY
@ OUT_OF_MEMORY
Definition:
IpAlgTypes.hpp:36
Ipopt::INTERNAL_ERROR
@ INTERNAL_ERROR
Definition:
IpAlgTypes.hpp:37
IpTypes.hpp
Ipopt::USER_REQUESTED_STOP
@ USER_REQUESTED_STOP
Definition:
IpAlgTypes.hpp:28
Ipopt::ERROR_IN_STEP_COMPUTATION
@ ERROR_IN_STEP_COMPUTATION
Definition:
IpAlgTypes.hpp:32
Ipopt::LOCAL_INFEASIBILITY
@ LOCAL_INFEASIBILITY
Definition:
IpAlgTypes.hpp:27
Ipopt::MAXITER_EXCEEDED
@ MAXITER_EXCEEDED
Definition:
IpAlgTypes.hpp:22
Ipopt::CPUTIME_EXCEEDED
@ CPUTIME_EXCEEDED
Definition:
IpAlgTypes.hpp:23
Ipopt::FEASIBLE_POINT_FOUND
@ FEASIBLE_POINT_FOUND
Definition:
IpAlgTypes.hpp:29
IpException.hpp
Ipopt::DECLARE_STD_EXCEPTION
DECLARE_STD_EXCEPTION(FATAL_ERROR_IN_LINEAR_SOLVER)
Ipopt::SolverReturn
SolverReturn
enum for the return from the optimize algorithm
Definition:
IpAlgTypes.hpp:20
Ipopt::INVALID_NUMBER_DETECTED
@ INVALID_NUMBER_DETECTED
Definition:
IpAlgTypes.hpp:33
Ipopt::STOP_AT_TINY_STEP
@ STOP_AT_TINY_STEP
Definition:
IpAlgTypes.hpp:25