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);
        }
Exemple #2
0
        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);
        }