> I need to retrieve specific result from solution of a computation of > glpk Api.
> I used c# wrapper that i've found in a first time. > I create a model file and a data file.I call the right function to > solve the problem on my C# application. > I don't know how to retrive only the result of the problem,Actually > I've found many function that write on a file all the solution,but I > want to find a function that return to me only the values of a > variable(that is a 2 dimension's variable) such that I could take the > return values and easily output them in a datagridview(or something > else structure,not so important for the question I've do it) and > display it. You need to call the api routine glp_get_col_prim (or its wrapper equivalent); it returns primal value of a column (structural variable) in the current basic solution. For more details please see the reference manual included in the glpk distribution. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
