[m-dev.] For review: mercury linear inequation solver/termination analysis mods.

Fergus Henderson fjh at cs.mu.oz.au
Fri Oct 17 19:01:05 AEST 1997


Thomas Charles CONWAY, you wrote:
> The following diff contains changes necessary to make use of a
> linear inequality solver written in Mercury rather than calling
> lpsolve.

> :- type lp_info
> 	---> lp(
> 		varset,
> 		map(var, pair(var)),	% variables with urs.

That comment doesn't really explain things enough.
e.g. Why a pair(var)?

> lp_solve2(Eqns0, Dir, Obj0, Result, IO0, IO, Info0, Info) :-

Please document the code for this predicate better.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3         |     -- the last words of T. S. Garp.



More information about the developers mailing list