0

I am new to MS Solver Foundation and am trying to run the CompactQuasiNewtonSolver from C# but I am getting an error.

The only code I have inside my main method is this:

CompactQuasiNewtonSolver solver = new CompactQuasiNewtonSolver(1);

but I get the following error:

Unhandled Exception: System.MissingMethodException: Method not found: 'Void Microsoft.SolverFoundation.Solvers.CompactQuasiNewtonSolver..ctor(Int32)'. at VAR.Program.Main(String[] args)

Anyone has an idea why?

1 Answer 1

0

It looks like you are invoking the CompactQuasiNewtonSolver incorrectly. You should probably just use the constructor that takes zero arguments as described in the MSDN docs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.