## how to find vertex of  parallelotope closest to given point P in R^n ? (Or minimize quadratic form over {+-1}) Is it NP ?

### Remember to vote up questions/answers you find interesting or helpful (requires 15 reputation points)

Consider a parallelotope in R^n and some point "P" in R^n. What algorithms (except of brute force) can be suggested to find the closest vertex of paralleloptope to "P" ?

Is it NP ?

Parallelotope has 2^n vertex, not arbitrary 2^n point in R^n are vertex of paralleloptope, so clever algorithm should somehow use this additional information, while brute force search over 2^n points does not use.

==

Reformulation:

after choosing origin in the center of parallelotope we can come to the following algebraic version of the problem: minimize over x_i = {-1,+1} the quadratic form: \sum a_ij x_i x_j - \sum x_i v_i

-

## 2 Answers

This looks almost like the Max-CUT problem to me (you have minimize instead of maximize, but you can just flip the signs of the matrix $A$)

In general, you problem is an instance of a binary quadratic program, so it will be hard to solve. Have a look at some solvers on this webpage

-

### You can accept an answer to one of your own questions by clicking the check mark next to it. This awards 15 reputation points to the person who answered and 2 reputation points to you.

This is equivalent to the MIMO detection problem, which is NP hard. Here is a paper with a semidefinite relaxation: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.163.3233&rep=rep1&type=pdf

Then, there exist some easy instances of the problem, if your matrix of the quadtratic form is negative semidefinite and rank deficient. Check these for example
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.8559568524360657, "perplexity_flag": "middle"}