How to enforce the optimization solver to include some particular x's

2 ビュー (過去 30 日間)
Ismaeel
Ismaeel 2016 年 12 月 11 日
回答済み: Alan Weiss 2016 年 12 月 12 日
I am working on Mixed-Integer Linear Programming problem using "intlinprog" solver. I want the solver to include some places (let's say place x1) in its solution and find the optimal placement for the rest of the nodes. So, the final solution (x) of the optimization is expected to include some particular x's specified before running the solver as an array. Any way to do so? Thanks

回答 (1 件)

Alan Weiss
Alan Weiss 2016 年 12 月 12 日
You have some problem formulation in mind that includes a set of "places" or nodes. I suggest that you remove the variables that you want to have at fixed values, and optimize over the rest. That means that you will have to write your objective function to include the fixed places.
If this is too hard, then you can set lower and upper bounds to be equal at the fixed places.
Alan Weiss
MATLAB mathematical toolbox documentation

カテゴリ

Help Center および File ExchangeProblem-Based Optimization Setup についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by