Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » sci.math.* » sci.math.num-analysis.independent

Topic: can I form a linear contrained equations for this constraint?
Replies: 1   Last Post: Oct 4, 2012 8:26 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
mbalover9@gmail.com

Posts: 38
Registered: 6/3/09
can I form a linear contrained equations for this constraint?
Posted: Oct 3, 2012 6:28 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Dear all,

In my optimization problem, the independent variables are ten points in 2D space: ( x1, y1), (x2, y2), ..., (x10, y10). The constraint is that these ten points should lie on either one of 3 lines with known equations:

y = a1* x;
y = a2* x;
y = a3* x;

For now, I can form a non linear constraint as

(y1 - a1*x1)* (y1 - a2*x1) * (y1 - a3*x1) = 0
(y2 - a1*x2)* (y2 - a2*x2) * (y2 - a3*x2) = 0
...............................................
(y10 - a1*x10)* (y10 - a2*x10) * (y10 - a3*x10) = 0


However I wonder if it is possible to form it in a form of a linear constraint so that I can use my linear programming code to solve the problem ( the cost function is already linear to the independent variables). Do you have any idea to do it?

Or if not, can you have any idea to rewrite the constraint in a simplifier form?

Thank you.





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.