Exemplo n.º 1
0
        public void Calculate()
        {
            if (isObjectFunctionSet() && AreConstrainsSet())
            {
                CreateConstrains();
                CreateObjectiveFunctionObject();
                var temp = new SimplexLineCollection(ObjectiveFunction, constrainList, TargetType);

                SimplexCalculator = new SimplexCalculator(temp);
                SimplexCalculator.Work();
            }
        }
Exemplo n.º 2
0
 public SimplexCalculator(SimplexLineCollection simplexLineCollection)
 {
     SimplexLineCollection = simplexLineCollection;
 }