It is the first I am using GLPK, and I should integrate it to my Java project. I succeed to install it in linux environment and I start reading some code source examples (only 2 examples availbale in the official documentation).
I have some questions about setting constraints (columns). In fact, I want to know why we should use integer array and double array ? What is their lenght (is it constraint number) ? Shall I use an array for each constraint (column) ?
Which values should be used to set the table ? What is the importance of this statment ? : GLPK.glp_set_mat_row(lp, 1, 2, ind, val); What are the 2nd and the 3rd parameters of this function ?
I am looking for your help !
Thanks in advance. Regards,
///The example I am speaking about : It is available at the official documentation of java-glpk