示例#1
0
文件: Main.cs 项目: 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);
        }
示例#2
0
文件: SolverLLP.cs 项目: Meolax/LLP
 public SolverLLP(ConstraintSystemModel _constraints, ObjectFunctionModel _objectFunction)
 {
     objectFunction = _objectFunction;
     constraints    = _constraints;
     solveLLP();
 }
示例#3
0
文件: Graphices.cs 项目: Meolax/LLP
 public Graphices(ref Chart chart, ConstraintSystemModel _constraintsSystem)
 {
     chartGraphic     = chart;
     constraintSystem = _constraintsSystem;
 }