Excel 2010 - 合計に追加するサブセットを検索しようとするときにソルバーを停止する

Excel 2010 - 合計に追加するサブセットを検索しようとするときにソルバーを停止する

ソルバーを使用して、指定された合計に加算される数値のサブセットを見つける方法を見つけました。非常に便利です。

さて、解決策があるかどうかわからないことがあります。Excel に時間がかかりすぎる場合、ソルバーがすべての可能な反復を実行する前に停止する方法はありますか? 比較的小さな数値セット (25) の場合、ソルバーは 20 分以上実行されています。それ以外の場合、計算で本当に負荷をかけても Excel の速度が低下することはありません。

何か案は?

答え1

何か案は?

クリックしてみましたかESC?

を見てみましょう "Excel ソルバー - ソルバーを一時停止または停止する" お願いします:

If you press ESC while Solver is solving, the Show Trial Solution dialog box appears.  Do one of the following:

    Click Stop to stop the solution process.  TheSolver Results dialog appears with a message that Solver stopped at your request.
    Click Continue to allow Solver to continue solving until you press ESC again, a Solving Limit is reached, or a solution is found.

If Solver reaches one of the Solving Limits (Max Time, Iterations, Max Subproblems or Max Feasible Solutions) while solving a problem, the Show Trial Solution dialog box appears.  Do one of the following:

    Click Stop to stop the solution process.  The Solver Results dialog appears with a message that the limit was reached.
    Click Continue to allow Solver to continue solving without the limit mentioned in the dialog box message.  If another limit is reached, the Show Trial Solutiondialog box will re-appear, once for each limit.

関連情報