public void Otimizar(ILPReader reader, Extremo extremo = Extremo.Minimizar) { if (reader == null) throw new ArgumentException("reader"); _swLeituraFuncao = Stopwatch.StartNew(); var funcao = reader.LerFuncaoObjetivo(); _swLeituraFuncao.Stop(); Otimizar(funcao, extremo); }
public void Otimizar(ILPReader reader, Extremo extremo = Extremo.Minimizar) { if (reader == null) { throw new ArgumentException("reader"); } _swLeituraFuncao = Stopwatch.StartNew(); var funcao = reader.LerFuncaoObjetivo(); _swLeituraFuncao.Stop(); Otimizar(funcao, extremo); }