Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 890419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:43:47+00:00 2026-05-15T13:43:47+00:00

Given n points on the plane. No 3 are collinear. Given the number k.

  • 0

Given n points on the plane. No 3 are collinear.

Given the number k.

Find the subset of k points, such that the convex hull of the k points has minimum perimeter out of any convex hull of a subset of k points.

I can think of a naive method runs in O(n^k k log k). (Find the convex hull of every subset of size k and output the minimum).

I think this is a NP problem, but I can’t find anything suitable for reduction to.

Anyone have ideas on this problem?

An example,

the set of n=4 points {(0,0), (0,1), (1,0), (2,2)} and k=3

Result:

{(0,0),(0,1),(1,0)}

Since this set contains 3 points the convex hull of and the perimeter of the result is smaller than that of any other sets of 3 points.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T13:43:48+00:00Added an answer on May 15, 2026 at 1:43 pm

    This can be done in O(kn^3) time and O(kn^2) space (or maybe O(kn^3) if you want the actual points).

    This paper: http://www.win.tue.nl/~gwoegi/papers/area-k-gons.pdf

    by Eppstein et al, has algorithms to solve this problem for minimum perimeter and other weight functions like area, sum of internal angles etc which follow certain constraints, even though the title says minimum area (See Corollary 5.3 for perimeter).

    The basic idea is a dynamic programming approach as follows (read the first few paragraphs of Section 4):

    Suppose S is the given set of points and Q is the convex hull of k points with minimum perimeter.

    Let p1 be the bottom-most point of Q, p2 and p3 are the next points on the hull in counter-clockwise order.

    We can decompose Q into a triangle p1p2p3 and a convex hull of k-1 points Q’ (which shares the side p1p3 with triangle p1p2p3).

    The main observation is that Q’ is the optimal for k-1, in which the bottommost point is p1 and the next point is p3 and all the points of Q’ lie on the same side of the line p2->p3.

    Thus maintaining a 4d array of optimum polygons for the each quadruple (pi, pj, pk, m) such that

    • the polygon is a convex hull of exactly m points of S.
    • pi is the bottom most point of the polygon.
    • pj is the next vertex in counter-clockwise order,
    • all points of the polygon lie to the left of the line pi -> pj.
    • all points lie on the same side of pj->pk as pi does.

    can help us find the optimum polygons for m=k, given the optimum polygons for m <= k-1.

    The paper describes exactly how to go about doing that in order to achieve the stated space and time bounds.

    Hope that helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Given an irregular polygon and a point within that polygon, how do I determine
In a plane (two dimensional), a path can be represented by a sequence of
I have a list of ordered 3D points which define the boundary of a
On Mac OSX 5.8 I have a Java program that runs at 100% CPU
If i have an ImageView that fills the screen. The ImageView background is set
Given an anchor element (with something like $(a:first) ), how do you get the
First, a short description of the problem's background: I've run into troubles with handling
I am trying to write a php script to kill users in a redhat
In our application, some of our REST-style WCF calls are failing. These calls are
I've got a problem I'm not too sure how to solve. I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.