Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图解决一个具有二次约束的优化问题。我需要约束的线性化形式。我正在为以下等式约束寻找一种方法:
z == x*(x-y);
其中 x 和 y 是连续决策变量,并且:
x1 <= x <= x2; y1 <= y <= y2;
这个想法是首先使用
4 x y=(x+y)*(x+y)-(xy)(xy)
然后使用分段线性化正方形。
我发布了一个例子
https://www.ibm.com/developerworks/community/forums/html/topic?id=f48c280e-144b-46aa-abb9-906a4eb4219f&ps=25