Minimize distance given other distance constraints
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I want to minimize the Euclidean distance between a pair of points $mathbfP_1, mathbfP_2$ by finding a new point $mathbfP_2*$, with the inequality constraints that for each $R_i$ of a set of points $R$, $$midmid mathbfP_2*-R_imidmid_2 leq midmid mathbfP_2-R_imidmid_2 $$
Geometrically, I could express $mathbfR_i$ as the red points, $mathbfP_2$ as the green point and $mathbfP_1$ as the blue point. Circles with radius of the distance to the green point can then be 'indifference' curves, and help to identify the feasible set.
In the left figure the new point would be the intersection of a line from blue point to red point and the circle - however, in the right figure it would be the intersections of the two red circles.
Since I am not sure if there would be other exceptions, it would be great if someone could perhaps point me to better approaches of solving this. Thank you!
optimization nonlinear-optimization constraints
add a comment |Â
up vote
0
down vote
favorite
I want to minimize the Euclidean distance between a pair of points $mathbfP_1, mathbfP_2$ by finding a new point $mathbfP_2*$, with the inequality constraints that for each $R_i$ of a set of points $R$, $$midmid mathbfP_2*-R_imidmid_2 leq midmid mathbfP_2-R_imidmid_2 $$
Geometrically, I could express $mathbfR_i$ as the red points, $mathbfP_2$ as the green point and $mathbfP_1$ as the blue point. Circles with radius of the distance to the green point can then be 'indifference' curves, and help to identify the feasible set.
In the left figure the new point would be the intersection of a line from blue point to red point and the circle - however, in the right figure it would be the intersections of the two red circles.
Since I am not sure if there would be other exceptions, it would be great if someone could perhaps point me to better approaches of solving this. Thank you!
optimization nonlinear-optimization constraints
Are you trying to do this computationally? If so, then the inequality constraints you propose are convex, and the resulting system can be handled with a convex optimization solver.
â David M.
Jul 22 at 15:08
1
Thanks, that was exactly the hint I needed - finally managed to implement it in R and it works great :) @DavidM.
â eok
Jul 23 at 21:45
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to minimize the Euclidean distance between a pair of points $mathbfP_1, mathbfP_2$ by finding a new point $mathbfP_2*$, with the inequality constraints that for each $R_i$ of a set of points $R$, $$midmid mathbfP_2*-R_imidmid_2 leq midmid mathbfP_2-R_imidmid_2 $$
Geometrically, I could express $mathbfR_i$ as the red points, $mathbfP_2$ as the green point and $mathbfP_1$ as the blue point. Circles with radius of the distance to the green point can then be 'indifference' curves, and help to identify the feasible set.
In the left figure the new point would be the intersection of a line from blue point to red point and the circle - however, in the right figure it would be the intersections of the two red circles.
Since I am not sure if there would be other exceptions, it would be great if someone could perhaps point me to better approaches of solving this. Thank you!
optimization nonlinear-optimization constraints
I want to minimize the Euclidean distance between a pair of points $mathbfP_1, mathbfP_2$ by finding a new point $mathbfP_2*$, with the inequality constraints that for each $R_i$ of a set of points $R$, $$midmid mathbfP_2*-R_imidmid_2 leq midmid mathbfP_2-R_imidmid_2 $$
Geometrically, I could express $mathbfR_i$ as the red points, $mathbfP_2$ as the green point and $mathbfP_1$ as the blue point. Circles with radius of the distance to the green point can then be 'indifference' curves, and help to identify the feasible set.
In the left figure the new point would be the intersection of a line from blue point to red point and the circle - however, in the right figure it would be the intersections of the two red circles.
Since I am not sure if there would be other exceptions, it would be great if someone could perhaps point me to better approaches of solving this. Thank you!
optimization nonlinear-optimization constraints
asked Jul 22 at 13:57
eok
102
102
Are you trying to do this computationally? If so, then the inequality constraints you propose are convex, and the resulting system can be handled with a convex optimization solver.
â David M.
Jul 22 at 15:08
1
Thanks, that was exactly the hint I needed - finally managed to implement it in R and it works great :) @DavidM.
â eok
Jul 23 at 21:45
add a comment |Â
Are you trying to do this computationally? If so, then the inequality constraints you propose are convex, and the resulting system can be handled with a convex optimization solver.
â David M.
Jul 22 at 15:08
1
Thanks, that was exactly the hint I needed - finally managed to implement it in R and it works great :) @DavidM.
â eok
Jul 23 at 21:45
Are you trying to do this computationally? If so, then the inequality constraints you propose are convex, and the resulting system can be handled with a convex optimization solver.
â David M.
Jul 22 at 15:08
Are you trying to do this computationally? If so, then the inequality constraints you propose are convex, and the resulting system can be handled with a convex optimization solver.
â David M.
Jul 22 at 15:08
1
1
Thanks, that was exactly the hint I needed - finally managed to implement it in R and it works great :) @DavidM.
â eok
Jul 23 at 21:45
Thanks, that was exactly the hint I needed - finally managed to implement it in R and it works great :) @DavidM.
â eok
Jul 23 at 21:45
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2859431%2fminimize-distance-given-other-distance-constraints%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Are you trying to do this computationally? If so, then the inequality constraints you propose are convex, and the resulting system can be handled with a convex optimization solver.
â David M.
Jul 22 at 15:08
1
Thanks, that was exactly the hint I needed - finally managed to implement it in R and it works great :) @DavidM.
â eok
Jul 23 at 21:45