public static void main(String[] args) {
		
		//String filename = "fluxoCustoMinimo";
		String filename = "fluxoMaximoComMaximizacao";
		
		try {
			Data data = new Data(filename);
			//data.print(System.out);
			Modelo modelo = new Modelo(data);
			if (modelo.solveModel()) {
				modelo.exportSolution();
			}
			modelo.exportModel();
			modelo.finalizeModel();
			Linear modeloLP = new Linear(data);
			if (modeloLP.solveModel()) {
				modeloLP.exportSolution();
			}
			modeloLP.exportModel();
			modeloLP.finalizeModel();
		}
		catch (IOException exc1) {
			System.err.println(exc1);
		}
		catch (IloException exc2) {
			System.err.println(exc2);
		}
		catch (OutOfMemoryError exc3) {
			System.err.println(exc3);
		}
	}