Relation box and LP: proposal for plugin or expanding edit box
Krzysztof Leśniak <much <at> mat.uni.torun.pl>
2008-12-19 15:39:32 GMT
Dear Author
When I want to visualize the decision domain for linear programming in
two variables with the aid of
Dialog box: Function | Insert relation
I can do the following
------------------------------
Relation
3*x+4*y <= 7
Constraints
4*x+3*y < 7 and x>=0 and y>0
------------------------------
(To plot domains was more cumbersome in earlier versions of Graph;
we had to parametrize... err, now it's fine).
Nevertheless it would be comfortable to plot such domains with
explicitly graphed corners. This could be achieved by some checkbox like
"Show intersections of constraining curves"
(Of course without hard programming work it won't magically appear :)
From the point of view of linear programming task it would be desirable
to have the following feature:
if LP is checkmarked, then further menu activates and allows user to
type in the objective function f(x,y)=... and see the values of f in the
corners (when mouse over) or even in any point of the decision domain.
Furthermore, restriction to linear f seems to be unnecessary (although
in linear case one would like to obtain exact values in the corners).
This could allow students (especially those who dont take slightly long
course in computer algebra systems,
e.g. pre-university education) to investigate optimization interactively.
Such a feature like colour map with respect to the value of objective
function should increase visualization effect perhaps in equally good
way as 3D plot of surface over domain. Moreover for objective functions
of 3 variables you are enforced to use colour map trick, since usually
people can't see 4D.
Hopefully reading this letter didn't took too much in 4th dim ;)
Please keep the good job.
Best regards, Krzysztof Leśniak
------------------------------------------------------------------------------