(函数来自 pyomo.contrib.viewer.report)
pyomo.contrib.viewer.report
返回自由度。
blk (Block 或 BlockData) – 用于计算自由度的块
自由度的数量
(int)