// Path: src/plot/MainFrame.java
// public class MainFrame extends JFrame {
// 
// 	private static final long serialVersionUID = 1L;
// 
// 	public MainFrame(Instance instance, Solution solution) throws Exception{   
// 		
// 		build(instance,solution);
// 		
// 	}
// 
// 	private void build(Instance instance, Solution solution) throws Exception { 
// 		setTitle("RCPSPS");
// 		 
// 		setSize(800, 600);
// 		setResizable(true);
// 		
// 		this.setLocationRelativeTo(null); 
// 		
// 		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// 		
// 	    this.setContentPane(new Panel(instance, solution));
// 	    this.setVisible(true);
// 	}
// }


import java.io.IOException;
import plot.MainFrame;

			int objectiveValue = rcpsp.getSolution().getObjectiveValue();

			int e = 0;
			if (!feasible)
			{
				e = 1;
			}
			else
			{
				if(t > (timeLimit + 1) * 1000)
				{
					e = 2;
					System.err.println("Error: Time limit exeeced !!!");
				}
			}
			System.out.println(filename + ";"+ objectiveValue + ";" + t + ";" + e);

			// If verbose, print the error
			if(verbose)
			{
				rcpsp.getSolution().print(System.err);
				if(e == 1)
				{
					System.err.println("Error: There is an error in the solution: "+ rcpsp.getSolution().getError());
				}
			}

			// If graphical visualization, print the value of the constraints
			if(graphical)
			{

// Path: src/plot/MainFrame.java
// public class MainFrame extends JFrame {
// 
// 	private static final long serialVersionUID = 1L;
// 
// 	public MainFrame(Instance instance, Solution solution) throws Exception{   
// 		
// 		build(instance,solution);
// 		
// 	}
// 
// 	private void build(Instance instance, Solution solution) throws Exception { 
// 		setTitle("RCPSPS");
// 		 
// 		setSize(800, 600);
// 		setResizable(true);
// 		
// 		this.setLocationRelativeTo(null); 
// 		
// 		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// 		
// 	    this.setContentPane(new Panel(instance, solution));
// 	    this.setVisible(true);
// 	}
// }


// Path: src/rcpsp/Main.java
import java.io.IOException;
import plot.MainFrame;

			int objectiveValue = rcpsp.getSolution().getObjectiveValue();

			int e = 0;
			if (!feasible)
			{
				e = 1;
			}
			else
			{
				if(t > (timeLimit + 1) * 1000)
				{
					e = 2;
					System.err.println("Error: Time limit exeeced !!!");
				}
			}
			System.out.println(filename + ";"+ objectiveValue + ";" + t + ";" + e);

			// If verbose, print the error
			if(verbose)
			{
				rcpsp.getSolution().print(System.err);
				if(e == 1)
				{
					System.err.println("Error: There is an error in the solution: "+ rcpsp.getSolution().getError());
				}
			}

			// If graphical visualization, print the value of the constraints
			if(graphical)
			{

				new MainFrame(rcpsp.getInstance(), rcpsp.getSolution());
