""" API for running Energy Optimization with Pyomo. SPDX - License - Identifier: LGPL - 3.0 - or -later Copyright © 2023 Project Author Alireza Adli alireza.adli@concordia.ca """ from flask import Flask from flask_restful import Api from energy_optimization_pyomo import EnergyOptimizationPyomo app = Flask(__name__) api = Api(app) api.add_resource(EnergyOptimizationPyomo, '/result') app.run(debug=False)