我想找到一个由某些方程确定的对象的顶点。例如, 。 Eq1: 2x + y + z <= 12;
Eq2: x + y >= 23;
Eq3: x + y + z <= 10;
而且它是由 x >= 0
y >= 0
z => 0
有限的,它给出了一个六面体。我想知道这个对象是从哪个顶点创建的。 做到这一点的唯一方法是制作一个代码来检查这个方程式的所有可能的变化吗? array
import java.math.BigInteger;
public class PascalsTriangle {
public int row = 0;
public BigInteger[][] pascal = new BigInteger[ (int) (row +1)][];
public PascalsTriangle(int dimensio