// Copyright 2009 Hans Pirnay
// All Rights Reserved.
// This code is published under the Common Public License.
//
// Date   : 2009-05-14


#ifndef __ASNMPCUTILS_HPP__
#define __ASNMPCUTILS_HPP__

#include "IpUtils.hpp"
#include <string>

namespace Ipopt
{

  /** This header file provides some definitions used throughout the program. */


  enum NmpControllerExitStatus{
    SOLVE_SUCCESS,
    FATAL_ERROR
  };

  Index AsIndexMax(Index length, const Index* x, Index Incr);

  Index AsIndexSum(Index length, const Index* x, Index Incr);

  void append_Index(std::string& str, Index idx);
  
}

#endif
