Sets
t time intervals / t1*t12 /
i customers / c1*c5 /
r row labels /r1*r97/;
parameter p(r,i), h;
$CALL GDXXRW Curve.xlsx trace=3 par=p rng=Sheet1!b1:g97 rdim=1 cdim=1 par=h rng=Sheet1!i2:i2 dim=0
$gdxin Curve.gdx
$load p h
$gdxin
display p, h;
cost .. z =e= sum(t, maxLoad - sum((i,r)$[ord(r)=h], u(i,t)*cons(i)*clpu(t)*p(r,i)));
我在测试中遇到关于export default class Navigation extends React.Component {
render() {
const { appName, logoProps } = this.props;
return (
<nav>
<h1>
<Link to={defaultUrl}>
<Mainlogo {...logoProps} />
Mainsite
</Link>
</h1>
</nav>
);
}
}
的错误。
logoProps
我认为是因为我在"React does not recognize the `toString` prop on a DOM element."
内部传递了logoprops
,认为它可能与this相关
主徽标看起来像这样
link