From 075588d6bc19266930829fd2e13d3eb78bf631e9 Mon Sep 17 00:00:00 2001 From: giadasp Date: Sun, 15 Nov 2020 03:38:28 +0100 Subject: [PATCH] add plot for MINIMAX objective --- src/plot.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plot.jl b/src/plot.jl index 3c02b65..708a2bf 100644 --- a/src/plot.jl +++ b/src/plot.jl @@ -40,7 +40,7 @@ function plot_results(ATAmodel; group_by_fs = false, results_folder = "PLOTS") ICF_CC = copy(ICF) end - if ATAmodel.obj.type == "MAXIMIN" || ATAmodel.obj.type == "CC" + if ATAmodel.obj.type == "MAXIMIN" || ATAmodel.obj.type == "CC" || ATAmodel.obj.type == "MINIMAX" JLD2.@load "OPT/IIF.jld2" IIF JLD2.@load "OPT/ICF.jld2" ICF end @@ -65,7 +65,7 @@ function plot_results(ATAmodel; group_by_fs = false, results_folder = "PLOTS") end #TIF e ICF - if ATAmodel.obj.type == "MAXIMIN" || ATAmodel.obj.type == "CC" + if ATAmodel.obj.type == "MAXIMIN" || ATAmodel.obj.type == "CC" || ATAmodel.obj.type == "MINIMAX" if isfile("simPool.csv") simPool = CSV.read("simPool.csv", DataFrames.DataFrame) else