source: branches/dev/Interfaces/IpReturnCodes_inc.h @ 500

Last change on this file since 500 was 500, checked in by andreasw, 14 years ago

changed error message for tiny step

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1/***********************************************************************
2// Copyright (C) 2004, 2005, International Business Machines and others.
3// All Rights Reserved.
4// This code is published under the Common Public License.
5//
6// $Id: IpReturnCodes_inc.h 500 2005-08-25 20:58:50Z andreasw $
7//
8// Authors:  Carl Laird, Andreas Waechter     IBM    2004-08-13
9************************************************************************/
10
11/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
12/* !!!!!!!!!!!!!!!! REMEMBER TO UPDATE IpReturnCodes.inc !!!!!!!!!!!!!!!! */
13/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
14
15/** Return codes for the Optimize call for an application */
16enum ApplicationReturnStatus
17  {
18    Solve_Succeeded=0,
19    Solved_To_Acceptable_Level=1,
20    Infeasible_Problem_Detected=2,
21    Search_Direction_Becomes_Too_Small=3,
22
23    Maximum_Iterations_Exceeded=-1,
24    Restoration_Failed=-2,
25    Not_Enough_Degrees_Of_Freedom=-10,
26    Invalid_Problem_Definition=-11,
27    Invalid_Option=-12,
28
29    Unrecoverable_Exception=-100,
30    NonIpopt_Exception_Thrown=-101,
31    Insufficient_Memory=-102,
32    Internal_Error=-199
33  };
Note: See TracBrowser for help on using the repository browser.