/usr/include/coin/IpAlgTypes.hpp is in coinor-libipopt-dev 3.11.9-2.1build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | // Copyright (C) 2005, 2010 International Business Machines and others.
// All Rights Reserved.
// This code is published under the Eclipse Public License.
//
// $Id: IpAlgTypes.hpp 1861 2010-12-21 21:34:47Z andreasw $
//
// Authors: Carl Laird, Andreas Waechter IBM 2005-07-19
#ifndef __IPALGTYPES_HPP__
#define __IPALGTYPES_HPP__
#include "IpTypes.hpp"
#include "IpException.hpp"
namespace Ipopt
{
/**@name Enumerations */
//@{
/** enum for the return from the optimize algorithm
* (obviously we need to add more) */
enum SolverReturn {
SUCCESS,
MAXITER_EXCEEDED,
CPUTIME_EXCEEDED,
STOP_AT_TINY_STEP,
STOP_AT_ACCEPTABLE_POINT,
LOCAL_INFEASIBILITY,
USER_REQUESTED_STOP,
FEASIBLE_POINT_FOUND,
DIVERGING_ITERATES,
RESTORATION_FAILURE,
ERROR_IN_STEP_COMPUTATION,
INVALID_NUMBER_DETECTED,
TOO_FEW_DEGREES_OF_FREEDOM,
INVALID_OPTION,
OUT_OF_MEMORY,
INTERNAL_ERROR,
UNASSIGNED
};
//@}
/** @name Some exceptions used in multiple places */
//@{
DECLARE_STD_EXCEPTION(LOCALLY_INFEASIBLE);
DECLARE_STD_EXCEPTION(TOO_FEW_DOF);
DECLARE_STD_EXCEPTION(TINY_STEP_DETECTED);
DECLARE_STD_EXCEPTION(ACCEPTABLE_POINT_REACHED);
DECLARE_STD_EXCEPTION(FEASIBILITY_PROBLEM_SOLVED);
DECLARE_STD_EXCEPTION(INVALID_WARMSTART);
DECLARE_STD_EXCEPTION(INTERNAL_ABORT);
DECLARE_STD_EXCEPTION(NO_FREE_VARIABLES_BUT_FEASIBLE);
DECLARE_STD_EXCEPTION(NO_FREE_VARIABLES_AND_INFEASIBLE);
/** Exception FAILED_INITIALIZATION for problem during
* initialization of a strategy object (or other problems). This
* is thrown by a strategy object, if a problem arises during
* initialization, such as a value out of a feasible range.
*/
DECLARE_STD_EXCEPTION(FAILED_INITIALIZATION);
//@}
}
#endif
|