Category talk:Wren-linear: Difference between revisions

m
(Added blurb and source code for new 'Wren-linear' module.)
 
Line 7:
Despite its C heritage, GLPK uses 1-based arrays but, as a convenience feature, one can pass Wren's normal zero-based lists to the C wrapper and the underlying C code will change them to 1-based before passing them to the API functions themselves.
 
Whilst calling API functions directly is usually faster, it is also possible to write problems using GLPK's MathProg language and then process these using methods in the Trans''Tran'' class. This is far easier when there are a large number of variables and/or constraints to deal with.
 
==Source code (Wren)==
9,485

edits