Well there are some issues in the issue tracker than have not been answered and they are from 2013.
There is very little documentation regarding installation. There isnt a nuget package.
I have everything in 32 bits.
There are 3 projects: FuncLib, FuncLibConsole and FuncLibIpopt
Where do i get the dll from and whats the difference?
First I tried adding the reference to FuncLib.dll in FuncLib folder.
The i runned this code to test:
// Variables. The string names are added for convenience when printing out the optimal point with Evaluation.ToString().
Variable x = new Variable("x");
Variable y = new Variable("y");
// Rosenbrock optimization test function.
Function f = Function.Sqr(1.0 - x) + 100.0 * Function.Sqr(y - Function.Sqr(x));
// Use the BFGS optimizer.
Optimizer o = new BfgsOptimizer();
// Specify variables and the objective function.
o.ObjectiveFunction = f;
// Start the optimizer from a random point.
Random r = new Random(1);
OptimizerResult or = (OptimizerResult) o.Run(x | r.NextDouble(), y | r.NextDouble());
I get the following exception:
An unhandled exception of type 'System.BadImageFormatException' occurred in Program.exe
Additional information: Could not load file or assembly 'FuncLib, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Then i tried dlls in FuncLibIpopt: i add funcLib.dll, funcLibIpopt.dll, and i cant add ipopt39.dll nor IpOptFSS39.dll because the IDE says they are not valid assemblys
I get same exception.