The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 ]

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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.