Recently I'd begin using IPOPT (c++), run an example and everything works good.
I'd tried to make the same excersise in C# and use CSIOPT, everything works good until I cannot found the C# implementation of finalize_solution (the one thta populate all the results in arrays) calling (set_solver_status, set_objective_value, set_primal_solution and set_dual_solution).
On my understand in c++ this is done automatically when solve it,
/** This method is called when the algorithm is complete so the TNLP can
store/write the solution /
virtual void finalize_solution(SolverReturn status, Index n,
const Number x, const Number z_L,
const Number z_U, Index m, const Number g,
const Number lambda, Number obj_value,
const IpoptData ip_data,
IpoptCalculatedQuantities ip_cq);
How can achive this? there is another method, the only result was the .out file with the IPOPT outputs
Recently I'd begin using IPOPT (c++), run an example and everything works good. I'd tried to make the same excersise in C# and use CSIOPT, everything works good until I cannot found the C# implementation of finalize_solution (the one thta populate all the results in arrays) calling (set_solver_status, set_objective_value, set_primal_solution and set_dual_solution). On my understand in c++ this is done automatically when solve it,
/** This method is called when the algorithm is complete so the TNLP can
How can achive this? there is another method, the only result was the .out file with the IPOPT outputs
Thanks