0
我是MS Solver Foundation的新手,我試圖從C#運行CompactQuasiNewtonSolver,但出現錯誤。MissingMethodException使用MS Solver Foundation v2.1
我有我的主要方法中唯一的代碼是這樣的:
CompactQuasiNewtonSolver solver = new CompactQuasiNewtonSolver(1);
,但我得到了以下錯誤:
Unhandled Exception: System.MissingMethodException: Method not found: 'Void Microsoft.SolverFoundation.Solvers.CompactQuasiNewtonSolver..ctor(Int32)'. at VAR.Program.Main(String[] args)
任何人有一個想法,爲什麼?