[Lemon-user] NetworkSimplex SuppyType

Peter A. Kolski Peter.Kolski at physik.TU-Berlin.de
Tue Aug 2 15:42:37 CEST 2011


Dear LEMON users!

I have a supposedly simple question where I didn't find an answer to.

In the NetworkSimplex Class, I want to set the SupplyType constrains for the nodes to "EQUAL".
Obviously supported is GEQ and LEQ. And in the API it says:

	"The equality form is a special case of both supply types."

But how do I set it up in the syntax?

Calling the parameters GEQ && LEO for .supplyType is invalid.
Calling supplyType() successively sets it to the last parameter.

So what should I do?


Thank you very much!


Best regards

Peter A. Kolski



-









More information about the Lemon-user mailing list