フィルターのクリア

Intermediate solutions in binary programming

2 ビュー (過去 30 日間)
ingstalam
ingstalam 2015 年 1 月 13 日
回答済み: Alan Weiss 2015 年 1 月 14 日
I am running a binary program using the matlab command intlinprog but it takes a long time to compute. I want to stop the command in middle of operation and extract some intermediate optimal value. In the command window, it is stated clearly that 10.000 nodes are explored, then after sometime it says 20,000 nodes are explored, and so on. I don't want to wait till a lot of nodes are explored. Is there any way to study the intermediate optimal solution, after only 20,000 nods have been expandeed?

回答 (2 件)

Matt J
Matt J 2015 年 1 月 13 日
Set the MaxNodes option parameter to 20000.

Alan Weiss
Alan Weiss 2015 年 1 月 14 日
You might be interested in using an output function to report intermediate results. See intlinprog Output Functions and Plot Functions.
Alan Weiss
MATLAB mathematical toolbox documentation

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by