Exemplo n.º 1
0
Arquivo: Main.cs Projeto: Meolax/LLP
        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);
        }
Exemplo n.º 2
0
 public SolverLLP(ConstraintSystemModel _constraints, ObjectFunctionModel _objectFunction)
 {
     objectFunction = _objectFunction;
     constraints    = _constraints;
     solveLLP();
 }
Exemplo n.º 3
0
 public Graphices(ref Chart chart, ConstraintSystemModel _constraintsSystem)
 {
     chartGraphic     = chart;
     constraintSystem = _constraintsSystem;
 }