// Copyright (C) 2013 Deltares
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

/**
 * @file
 * @brief xxx
 * @author Dirk Schwanenberg
 * @version 1.0
 * @date 2013
 */


#ifndef RTCTOOLSGAMS_OPT_H
#define RTCTOOLSGAMS_OPT_H

#include "rtcToolsRuntime.h"


class rtcToolsGAMS_OPT : public rtcToolsOptimizer
{
private:
	string algorithm;
	rtcToolsRuntime * tool;
	string workDir;

public:
	/** default constructor */
	rtcToolsGAMS_OPT(rtcToolsRuntime * tool, string workDir);
	rtcToolsGAMS_OPT(rtcToolsRuntime * tool, rtcRuntimeConfigSettings::GAMS par, string workDir);

	/** default destructor */
	virtual ~rtcToolsGAMS_OPT() {};

	rtcRuntimeConfigSettings::GAMS par;

    // implement rtcToolsOptimizer function Optimize
    int optimize();

	void write(string filename) {};
};

#endif // RTCTOOLSGAMS_OPT_H