我想找到一個由某些方程確定的對象的頂點。例如, 。 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