摘要:
习题6.7代码 import numpy as np import pandas as pd import cvxpy as cp import networkx as nx import matplotlib.pyplot as plt df = pd.read_excel('F:\python数 阅读全文
摘要:
习题6.5代码 import numpy as np import cvxpy as cp import networkx as nx n = 6 A=np.zeros((n,n)) A[0,[1,2]]=[2,7] A[1,2:5]=[4,6,8] A[2,[3,4]]=[1,3] A[3,[4, 阅读全文