Exemple #1
0
        private ConstraintSystemModel createModelSystemOfConstraint()
        {
            ConstraintSystemModel constraints = new ConstraintSystemModel();

            constraints.x1       = x1;
            constraints.x2       = x2;
            constraints.sign     = sign;
            constraints.c        = c;
            constraints.rowCount = systemOfConstraintsDataGridView.RowCount - 1;
            return(constraints);
        }
Exemple #2
0
 public SolverLLP(ConstraintSystemModel _constraints, ObjectFunctionModel _objectFunction)
 {
     objectFunction = _objectFunction;
     constraints    = _constraints;
     solveLLP();
 }
Exemple #3
0
 public Graphices(ref Chart chart, ConstraintSystemModel _constraintsSystem)
 {
     chartGraphic     = chart;
     constraintSystem = _constraintsSystem;
 }