Can an integer optimization problem be convex?Convex vs Strictly Quasiconvex Functions in OptimizationConvex Maximization with Linear ConstraintsComputational complexity to compute an IISComplexity of verifying optimality in (mixed) integer programmingConvex vs Strictly Quasiconvex Functions in OptimizationDifference between “Optimization” and “Constrained Optimization”?How do we decide/plan an SLA for an NP-hard optimization process running in production?Variable fixing based on a good feasible solutionExamples of problems with non-convex constraint functions but convex feasible regionSolving convex programs defined by separation oracles?How difficult is it to understand a Machine Learning method based on integer optimization?

Finding a solution to a linear program with a small number of zeros

How many flight hours do the first retiring A380s have?

Cannot delete lines in QGIS

Ideas for medieval currency

Does Star Trek provide an answer for the size and shape of the universe?

Is it true that almost everyone who starts a PhD and sticks around long enough can get one?

How do you help a new player evaluate complex multiclassing options without driving them and yourself crazy?

Exactly what does "diatonic" mean?

When will xrandr version 1.5.1 be available in Ubuntu?

Why do the magnetic field lines of the earth go from south pole to north pole?

I've got an error "This site is blocked due to content filtering."

A story in which God (the Christian god) is replaced

Is it possible to pull or pull out a machine gun if it's already in your hand?

How many cows would you need to drop on Mars to successfully terraform it?

Can you counterspell a spell if you don't know who's casting it?

Was X17 predicted before it was observed?

How can I find the distribution for the number of years until the first year's rainfall is exceeded for the first time?

Total length of a set with the same projections as a square

Chess PhD topic in machine learning?

Expected value of the number of bills

What is this book about Satan having to run the world

Is a job offer letter with no mention of salary structure legal or correct?

Summary Proceeding in New Zealand - Denying liability but not requesting a hearing

Better method to measure the time period of a pendulum



Can an integer optimization problem be convex?


Convex vs Strictly Quasiconvex Functions in OptimizationConvex Maximization with Linear ConstraintsComputational complexity to compute an IISComplexity of verifying optimality in (mixed) integer programmingConvex vs Strictly Quasiconvex Functions in OptimizationDifference between “Optimization” and “Constrained Optimization”?How do we decide/plan an SLA for an NP-hard optimization process running in production?Variable fixing based on a good feasible solutionExamples of problems with non-convex constraint functions but convex feasible regionSolving convex programs defined by separation oracles?How difficult is it to understand a Machine Learning method based on integer optimization?













13















$begingroup$


I'm trying to wrap my head around an apparent paradox that I've come across while trying to learn more about optimization algorithms:



  • On one hand several sources state that convex optimization is easy, because every local minimum is a global minimum. In this video, starting at 27:00, Stephen Boyd from Stanford claims that convex optimization problems are tractable and in polynomial time.


  • Other sources state that a convex optimization problem can be NP-hard. See for example this post.


See this post.



I can't wrap my head around the two statements, are convex optimization problems tractable or not?



As I try to dig deeper, one thing I noticed it that the term convex doesn't seem to be used the same way by different people when it comes to integer problems.



By some definitions, it seems that a convex integer optimization problem is impossible by definition: the very fact of constraining the variables to integer values removes the convexity of the problem, since for a problem to be convex, both the objective function and the feasible set have to be convex.



Other places seem to consider problems where if aside from the integer constraint, all other constraints and the objective function are convex, to be convex optimization problems.



Which one of the two is correct? Can an integer programming problem be convex? Or is it non-convex by definition, given the restrictions it puts on the feasible set?



If it is possible for an integer programming problem to be convex, then in what sense are convex optimization problems "easier" that non-convex problems, since both are NP-Hard?










share|improve this question











$endgroup$














  • $begingroup$
    Related post about the NP-hardness of convex optimization: https://or.stackexchange.com/a/1474/145, similar to the answer by Johan Löfberg.
    $endgroup$
    – Kevin Dalmeijer
    Sep 20 at 12:41
















13















$begingroup$


I'm trying to wrap my head around an apparent paradox that I've come across while trying to learn more about optimization algorithms:



  • On one hand several sources state that convex optimization is easy, because every local minimum is a global minimum. In this video, starting at 27:00, Stephen Boyd from Stanford claims that convex optimization problems are tractable and in polynomial time.


  • Other sources state that a convex optimization problem can be NP-hard. See for example this post.


See this post.



I can't wrap my head around the two statements, are convex optimization problems tractable or not?



As I try to dig deeper, one thing I noticed it that the term convex doesn't seem to be used the same way by different people when it comes to integer problems.



By some definitions, it seems that a convex integer optimization problem is impossible by definition: the very fact of constraining the variables to integer values removes the convexity of the problem, since for a problem to be convex, both the objective function and the feasible set have to be convex.



Other places seem to consider problems where if aside from the integer constraint, all other constraints and the objective function are convex, to be convex optimization problems.



Which one of the two is correct? Can an integer programming problem be convex? Or is it non-convex by definition, given the restrictions it puts on the feasible set?



If it is possible for an integer programming problem to be convex, then in what sense are convex optimization problems "easier" that non-convex problems, since both are NP-Hard?










share|improve this question











$endgroup$














  • $begingroup$
    Related post about the NP-hardness of convex optimization: https://or.stackexchange.com/a/1474/145, similar to the answer by Johan Löfberg.
    $endgroup$
    – Kevin Dalmeijer
    Sep 20 at 12:41














13













13









13





$begingroup$


I'm trying to wrap my head around an apparent paradox that I've come across while trying to learn more about optimization algorithms:



  • On one hand several sources state that convex optimization is easy, because every local minimum is a global minimum. In this video, starting at 27:00, Stephen Boyd from Stanford claims that convex optimization problems are tractable and in polynomial time.


  • Other sources state that a convex optimization problem can be NP-hard. See for example this post.


See this post.



I can't wrap my head around the two statements, are convex optimization problems tractable or not?



As I try to dig deeper, one thing I noticed it that the term convex doesn't seem to be used the same way by different people when it comes to integer problems.



By some definitions, it seems that a convex integer optimization problem is impossible by definition: the very fact of constraining the variables to integer values removes the convexity of the problem, since for a problem to be convex, both the objective function and the feasible set have to be convex.



Other places seem to consider problems where if aside from the integer constraint, all other constraints and the objective function are convex, to be convex optimization problems.



Which one of the two is correct? Can an integer programming problem be convex? Or is it non-convex by definition, given the restrictions it puts on the feasible set?



If it is possible for an integer programming problem to be convex, then in what sense are convex optimization problems "easier" that non-convex problems, since both are NP-Hard?










share|improve this question











$endgroup$




I'm trying to wrap my head around an apparent paradox that I've come across while trying to learn more about optimization algorithms:



  • On one hand several sources state that convex optimization is easy, because every local minimum is a global minimum. In this video, starting at 27:00, Stephen Boyd from Stanford claims that convex optimization problems are tractable and in polynomial time.


  • Other sources state that a convex optimization problem can be NP-hard. See for example this post.


See this post.



I can't wrap my head around the two statements, are convex optimization problems tractable or not?



As I try to dig deeper, one thing I noticed it that the term convex doesn't seem to be used the same way by different people when it comes to integer problems.



By some definitions, it seems that a convex integer optimization problem is impossible by definition: the very fact of constraining the variables to integer values removes the convexity of the problem, since for a problem to be convex, both the objective function and the feasible set have to be convex.



Other places seem to consider problems where if aside from the integer constraint, all other constraints and the objective function are convex, to be convex optimization problems.



Which one of the two is correct? Can an integer programming problem be convex? Or is it non-convex by definition, given the restrictions it puts on the feasible set?



If it is possible for an integer programming problem to be convex, then in what sense are convex optimization problems "easier" that non-convex problems, since both are NP-Hard?







optimization integer-programming computational-complexity convexity






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 20 at 12:35









LarrySnyder610

8,67115 silver badges72 bronze badges




8,67115 silver badges72 bronze badges










asked Sep 20 at 5:35









Alex KinmanAlex Kinman

1,55915 bronze badges




1,55915 bronze badges














  • $begingroup$
    Related post about the NP-hardness of convex optimization: https://or.stackexchange.com/a/1474/145, similar to the answer by Johan Löfberg.
    $endgroup$
    – Kevin Dalmeijer
    Sep 20 at 12:41

















  • $begingroup$
    Related post about the NP-hardness of convex optimization: https://or.stackexchange.com/a/1474/145, similar to the answer by Johan Löfberg.
    $endgroup$
    – Kevin Dalmeijer
    Sep 20 at 12:41
















$begingroup$
Related post about the NP-hardness of convex optimization: https://or.stackexchange.com/a/1474/145, similar to the answer by Johan Löfberg.
$endgroup$
– Kevin Dalmeijer
Sep 20 at 12:41





$begingroup$
Related post about the NP-hardness of convex optimization: https://or.stackexchange.com/a/1474/145, similar to the answer by Johan Löfberg.
$endgroup$
– Kevin Dalmeijer
Sep 20 at 12:41











3 Answers
3






active

oldest

votes


















12

















$begingroup$

Feels like you are asking two things, tractability of convex problems and convexity of integer problems.



A first order approximation is that convex programs are tractable, .i.e., most problems you can think of as a layman in the field that are convex, are (probably) tractable to solve. That's why you would be told that in an introductory course on convex optimization. It is not true though.



Tractability of convex problems essentially boils down to being able to decide if an iterate $x$ is feasible, in a computationally tractable way (having a so called oracle available). There are convex sets for which this isn't the case. One such example if the set of co-positive matrices. If you are trying to find a matrix $M(x)$ such that $z^TM(x)z geq 0$ for all $zgeq 0$, you have problems, as it is very hard to decide if a candidate $M(x)$ satisfies that property. Compare to the simple case of positive-semidefinite where all $z$ should lead to non-negativity, this is simply an eigenvalue test and thus semidefinite programming is tractable. Alas, also this statement is up for debate, as it depends on what you mean with solving a problem. A semidefinite programming problem with size $n$ (what ever we mean with that) can have a solution whose representation grows at an exponential rate $2^n$.



Regarding the second issue whether an integer problem is convex, the answer is no, and that follows directly from geometry (unless there is only 1 solution). However, as shown by Sam Burer, nononvex mixed-binary quadratic programs can be rewritten as convex optimization over the co-positive cone. Remember from the discussion above though, this only implies we've made a convex reformulation, not that the problem has been made tractable.






share|improve this answer












$endgroup$













  • $begingroup$
    Related: mathoverflow.net/q/92939/91764
    $endgroup$
    – Rodrigo de Azevedo
    Sep 20 at 16:02










  • $begingroup$
    It's unclear what you are claiming about Burer's result: that some integer problems can be rewritten as COP, or that all can?
    $endgroup$
    – Ben Voigt
    Sep 21 at 18:05










  • $begingroup$
    Burer talks about nononvex mixed-binary quadratic programs
    $endgroup$
    – Johan Löfberg
    Sep 22 at 6:16


















8

















$begingroup$

Mathematically, mixed-integer programs (MIPs) are non-convex, for the very reason you stated: the set $x in 0,1$ is inherently non-convex. In fact, for a convex optimization problem (e.g. linear programming), you can find the solution in polynomial time using interior-point methods.



The reason the optimization community is going against the pure "mathematical" grain lies in the way that MIPs are solved: to find the best combination of binary variables, the problem is relaxed, e.g. $xin 0,1 rightarrow x in [0,1]$. In other words, the problem is "made" continuous. If then the objective function and constraints are convex, this relaxed version of the problem is also convex and can be solved in polynomial time. This allows e.g. branch-and-bound algorithms to be computationally sensible, as they have to solve these subproblems many, many times to solve a MIP.



However, MIPs are, in general, NP-hard, precisely because they are non-convex.






share|improve this answer












$endgroup$













  • $begingroup$
    The interior point methods may iterate in polynomial time, but that doesn't include finding an interior point to start from.
    $endgroup$
    – Ben Voigt
    Sep 21 at 17:53










  • $begingroup$
    True. In practice there are probably a lot of heuristics to do this quickly, but what is the theoretical worst case completely for this?
    $endgroup$
    – Richard
    Sep 21 at 19:04


















2

















$begingroup$

The terminology here is a bit ambiguous. I've heard the term "convex MINLP" being used in two different ways:



  1. As others said, a problem where the continuous relaxation of the integer variables results in a convex problem, and

  2. An MINLP with a linear integer part and a convex continuous part (which is a subset of the previous definition). This is important for certain techniques, e.g. generalised Benders decomposition.





share|improve this answer










$endgroup$















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "700"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2for.stackexchange.com%2fquestions%2f2595%2fcan-an-integer-optimization-problem-be-convex%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown


























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    12

















    $begingroup$

    Feels like you are asking two things, tractability of convex problems and convexity of integer problems.



    A first order approximation is that convex programs are tractable, .i.e., most problems you can think of as a layman in the field that are convex, are (probably) tractable to solve. That's why you would be told that in an introductory course on convex optimization. It is not true though.



    Tractability of convex problems essentially boils down to being able to decide if an iterate $x$ is feasible, in a computationally tractable way (having a so called oracle available). There are convex sets for which this isn't the case. One such example if the set of co-positive matrices. If you are trying to find a matrix $M(x)$ such that $z^TM(x)z geq 0$ for all $zgeq 0$, you have problems, as it is very hard to decide if a candidate $M(x)$ satisfies that property. Compare to the simple case of positive-semidefinite where all $z$ should lead to non-negativity, this is simply an eigenvalue test and thus semidefinite programming is tractable. Alas, also this statement is up for debate, as it depends on what you mean with solving a problem. A semidefinite programming problem with size $n$ (what ever we mean with that) can have a solution whose representation grows at an exponential rate $2^n$.



    Regarding the second issue whether an integer problem is convex, the answer is no, and that follows directly from geometry (unless there is only 1 solution). However, as shown by Sam Burer, nononvex mixed-binary quadratic programs can be rewritten as convex optimization over the co-positive cone. Remember from the discussion above though, this only implies we've made a convex reformulation, not that the problem has been made tractable.






    share|improve this answer












    $endgroup$













    • $begingroup$
      Related: mathoverflow.net/q/92939/91764
      $endgroup$
      – Rodrigo de Azevedo
      Sep 20 at 16:02










    • $begingroup$
      It's unclear what you are claiming about Burer's result: that some integer problems can be rewritten as COP, or that all can?
      $endgroup$
      – Ben Voigt
      Sep 21 at 18:05










    • $begingroup$
      Burer talks about nononvex mixed-binary quadratic programs
      $endgroup$
      – Johan Löfberg
      Sep 22 at 6:16















    12

















    $begingroup$

    Feels like you are asking two things, tractability of convex problems and convexity of integer problems.



    A first order approximation is that convex programs are tractable, .i.e., most problems you can think of as a layman in the field that are convex, are (probably) tractable to solve. That's why you would be told that in an introductory course on convex optimization. It is not true though.



    Tractability of convex problems essentially boils down to being able to decide if an iterate $x$ is feasible, in a computationally tractable way (having a so called oracle available). There are convex sets for which this isn't the case. One such example if the set of co-positive matrices. If you are trying to find a matrix $M(x)$ such that $z^TM(x)z geq 0$ for all $zgeq 0$, you have problems, as it is very hard to decide if a candidate $M(x)$ satisfies that property. Compare to the simple case of positive-semidefinite where all $z$ should lead to non-negativity, this is simply an eigenvalue test and thus semidefinite programming is tractable. Alas, also this statement is up for debate, as it depends on what you mean with solving a problem. A semidefinite programming problem with size $n$ (what ever we mean with that) can have a solution whose representation grows at an exponential rate $2^n$.



    Regarding the second issue whether an integer problem is convex, the answer is no, and that follows directly from geometry (unless there is only 1 solution). However, as shown by Sam Burer, nononvex mixed-binary quadratic programs can be rewritten as convex optimization over the co-positive cone. Remember from the discussion above though, this only implies we've made a convex reformulation, not that the problem has been made tractable.






    share|improve this answer












    $endgroup$













    • $begingroup$
      Related: mathoverflow.net/q/92939/91764
      $endgroup$
      – Rodrigo de Azevedo
      Sep 20 at 16:02










    • $begingroup$
      It's unclear what you are claiming about Burer's result: that some integer problems can be rewritten as COP, or that all can?
      $endgroup$
      – Ben Voigt
      Sep 21 at 18:05










    • $begingroup$
      Burer talks about nononvex mixed-binary quadratic programs
      $endgroup$
      – Johan Löfberg
      Sep 22 at 6:16













    12















    12











    12







    $begingroup$

    Feels like you are asking two things, tractability of convex problems and convexity of integer problems.



    A first order approximation is that convex programs are tractable, .i.e., most problems you can think of as a layman in the field that are convex, are (probably) tractable to solve. That's why you would be told that in an introductory course on convex optimization. It is not true though.



    Tractability of convex problems essentially boils down to being able to decide if an iterate $x$ is feasible, in a computationally tractable way (having a so called oracle available). There are convex sets for which this isn't the case. One such example if the set of co-positive matrices. If you are trying to find a matrix $M(x)$ such that $z^TM(x)z geq 0$ for all $zgeq 0$, you have problems, as it is very hard to decide if a candidate $M(x)$ satisfies that property. Compare to the simple case of positive-semidefinite where all $z$ should lead to non-negativity, this is simply an eigenvalue test and thus semidefinite programming is tractable. Alas, also this statement is up for debate, as it depends on what you mean with solving a problem. A semidefinite programming problem with size $n$ (what ever we mean with that) can have a solution whose representation grows at an exponential rate $2^n$.



    Regarding the second issue whether an integer problem is convex, the answer is no, and that follows directly from geometry (unless there is only 1 solution). However, as shown by Sam Burer, nononvex mixed-binary quadratic programs can be rewritten as convex optimization over the co-positive cone. Remember from the discussion above though, this only implies we've made a convex reformulation, not that the problem has been made tractable.






    share|improve this answer












    $endgroup$



    Feels like you are asking two things, tractability of convex problems and convexity of integer problems.



    A first order approximation is that convex programs are tractable, .i.e., most problems you can think of as a layman in the field that are convex, are (probably) tractable to solve. That's why you would be told that in an introductory course on convex optimization. It is not true though.



    Tractability of convex problems essentially boils down to being able to decide if an iterate $x$ is feasible, in a computationally tractable way (having a so called oracle available). There are convex sets for which this isn't the case. One such example if the set of co-positive matrices. If you are trying to find a matrix $M(x)$ such that $z^TM(x)z geq 0$ for all $zgeq 0$, you have problems, as it is very hard to decide if a candidate $M(x)$ satisfies that property. Compare to the simple case of positive-semidefinite where all $z$ should lead to non-negativity, this is simply an eigenvalue test and thus semidefinite programming is tractable. Alas, also this statement is up for debate, as it depends on what you mean with solving a problem. A semidefinite programming problem with size $n$ (what ever we mean with that) can have a solution whose representation grows at an exponential rate $2^n$.



    Regarding the second issue whether an integer problem is convex, the answer is no, and that follows directly from geometry (unless there is only 1 solution). However, as shown by Sam Burer, nononvex mixed-binary quadratic programs can be rewritten as convex optimization over the co-positive cone. Remember from the discussion above though, this only implies we've made a convex reformulation, not that the problem has been made tractable.







    share|improve this answer















    share|improve this answer




    share|improve this answer








    edited Sep 22 at 6:17

























    answered Sep 20 at 6:54









    Johan LöfbergJohan Löfberg

    4136 bronze badges




    4136 bronze badges














    • $begingroup$
      Related: mathoverflow.net/q/92939/91764
      $endgroup$
      – Rodrigo de Azevedo
      Sep 20 at 16:02










    • $begingroup$
      It's unclear what you are claiming about Burer's result: that some integer problems can be rewritten as COP, or that all can?
      $endgroup$
      – Ben Voigt
      Sep 21 at 18:05










    • $begingroup$
      Burer talks about nononvex mixed-binary quadratic programs
      $endgroup$
      – Johan Löfberg
      Sep 22 at 6:16
















    • $begingroup$
      Related: mathoverflow.net/q/92939/91764
      $endgroup$
      – Rodrigo de Azevedo
      Sep 20 at 16:02










    • $begingroup$
      It's unclear what you are claiming about Burer's result: that some integer problems can be rewritten as COP, or that all can?
      $endgroup$
      – Ben Voigt
      Sep 21 at 18:05










    • $begingroup$
      Burer talks about nononvex mixed-binary quadratic programs
      $endgroup$
      – Johan Löfberg
      Sep 22 at 6:16















    $begingroup$
    Related: mathoverflow.net/q/92939/91764
    $endgroup$
    – Rodrigo de Azevedo
    Sep 20 at 16:02




    $begingroup$
    Related: mathoverflow.net/q/92939/91764
    $endgroup$
    – Rodrigo de Azevedo
    Sep 20 at 16:02












    $begingroup$
    It's unclear what you are claiming about Burer's result: that some integer problems can be rewritten as COP, or that all can?
    $endgroup$
    – Ben Voigt
    Sep 21 at 18:05




    $begingroup$
    It's unclear what you are claiming about Burer's result: that some integer problems can be rewritten as COP, or that all can?
    $endgroup$
    – Ben Voigt
    Sep 21 at 18:05












    $begingroup$
    Burer talks about nononvex mixed-binary quadratic programs
    $endgroup$
    – Johan Löfberg
    Sep 22 at 6:16




    $begingroup$
    Burer talks about nononvex mixed-binary quadratic programs
    $endgroup$
    – Johan Löfberg
    Sep 22 at 6:16











    8

















    $begingroup$

    Mathematically, mixed-integer programs (MIPs) are non-convex, for the very reason you stated: the set $x in 0,1$ is inherently non-convex. In fact, for a convex optimization problem (e.g. linear programming), you can find the solution in polynomial time using interior-point methods.



    The reason the optimization community is going against the pure "mathematical" grain lies in the way that MIPs are solved: to find the best combination of binary variables, the problem is relaxed, e.g. $xin 0,1 rightarrow x in [0,1]$. In other words, the problem is "made" continuous. If then the objective function and constraints are convex, this relaxed version of the problem is also convex and can be solved in polynomial time. This allows e.g. branch-and-bound algorithms to be computationally sensible, as they have to solve these subproblems many, many times to solve a MIP.



    However, MIPs are, in general, NP-hard, precisely because they are non-convex.






    share|improve this answer












    $endgroup$













    • $begingroup$
      The interior point methods may iterate in polynomial time, but that doesn't include finding an interior point to start from.
      $endgroup$
      – Ben Voigt
      Sep 21 at 17:53










    • $begingroup$
      True. In practice there are probably a lot of heuristics to do this quickly, but what is the theoretical worst case completely for this?
      $endgroup$
      – Richard
      Sep 21 at 19:04















    8

















    $begingroup$

    Mathematically, mixed-integer programs (MIPs) are non-convex, for the very reason you stated: the set $x in 0,1$ is inherently non-convex. In fact, for a convex optimization problem (e.g. linear programming), you can find the solution in polynomial time using interior-point methods.



    The reason the optimization community is going against the pure "mathematical" grain lies in the way that MIPs are solved: to find the best combination of binary variables, the problem is relaxed, e.g. $xin 0,1 rightarrow x in [0,1]$. In other words, the problem is "made" continuous. If then the objective function and constraints are convex, this relaxed version of the problem is also convex and can be solved in polynomial time. This allows e.g. branch-and-bound algorithms to be computationally sensible, as they have to solve these subproblems many, many times to solve a MIP.



    However, MIPs are, in general, NP-hard, precisely because they are non-convex.






    share|improve this answer












    $endgroup$













    • $begingroup$
      The interior point methods may iterate in polynomial time, but that doesn't include finding an interior point to start from.
      $endgroup$
      – Ben Voigt
      Sep 21 at 17:53










    • $begingroup$
      True. In practice there are probably a lot of heuristics to do this quickly, but what is the theoretical worst case completely for this?
      $endgroup$
      – Richard
      Sep 21 at 19:04













    8















    8











    8







    $begingroup$

    Mathematically, mixed-integer programs (MIPs) are non-convex, for the very reason you stated: the set $x in 0,1$ is inherently non-convex. In fact, for a convex optimization problem (e.g. linear programming), you can find the solution in polynomial time using interior-point methods.



    The reason the optimization community is going against the pure "mathematical" grain lies in the way that MIPs are solved: to find the best combination of binary variables, the problem is relaxed, e.g. $xin 0,1 rightarrow x in [0,1]$. In other words, the problem is "made" continuous. If then the objective function and constraints are convex, this relaxed version of the problem is also convex and can be solved in polynomial time. This allows e.g. branch-and-bound algorithms to be computationally sensible, as they have to solve these subproblems many, many times to solve a MIP.



    However, MIPs are, in general, NP-hard, precisely because they are non-convex.






    share|improve this answer












    $endgroup$



    Mathematically, mixed-integer programs (MIPs) are non-convex, for the very reason you stated: the set $x in 0,1$ is inherently non-convex. In fact, for a convex optimization problem (e.g. linear programming), you can find the solution in polynomial time using interior-point methods.



    The reason the optimization community is going against the pure "mathematical" grain lies in the way that MIPs are solved: to find the best combination of binary variables, the problem is relaxed, e.g. $xin 0,1 rightarrow x in [0,1]$. In other words, the problem is "made" continuous. If then the objective function and constraints are convex, this relaxed version of the problem is also convex and can be solved in polynomial time. This allows e.g. branch-and-bound algorithms to be computationally sensible, as they have to solve these subproblems many, many times to solve a MIP.



    However, MIPs are, in general, NP-hard, precisely because they are non-convex.







    share|improve this answer















    share|improve this answer




    share|improve this answer








    edited Sep 20 at 6:25









    TheSimpliFire

    3,3131 gold badge8 silver badges42 bronze badges




    3,3131 gold badge8 silver badges42 bronze badges










    answered Sep 20 at 5:56









    RichardRichard

    1,6361 silver badge12 bronze badges




    1,6361 silver badge12 bronze badges














    • $begingroup$
      The interior point methods may iterate in polynomial time, but that doesn't include finding an interior point to start from.
      $endgroup$
      – Ben Voigt
      Sep 21 at 17:53










    • $begingroup$
      True. In practice there are probably a lot of heuristics to do this quickly, but what is the theoretical worst case completely for this?
      $endgroup$
      – Richard
      Sep 21 at 19:04
















    • $begingroup$
      The interior point methods may iterate in polynomial time, but that doesn't include finding an interior point to start from.
      $endgroup$
      – Ben Voigt
      Sep 21 at 17:53










    • $begingroup$
      True. In practice there are probably a lot of heuristics to do this quickly, but what is the theoretical worst case completely for this?
      $endgroup$
      – Richard
      Sep 21 at 19:04















    $begingroup$
    The interior point methods may iterate in polynomial time, but that doesn't include finding an interior point to start from.
    $endgroup$
    – Ben Voigt
    Sep 21 at 17:53




    $begingroup$
    The interior point methods may iterate in polynomial time, but that doesn't include finding an interior point to start from.
    $endgroup$
    – Ben Voigt
    Sep 21 at 17:53












    $begingroup$
    True. In practice there are probably a lot of heuristics to do this quickly, but what is the theoretical worst case completely for this?
    $endgroup$
    – Richard
    Sep 21 at 19:04




    $begingroup$
    True. In practice there are probably a lot of heuristics to do this quickly, but what is the theoretical worst case completely for this?
    $endgroup$
    – Richard
    Sep 21 at 19:04











    2

















    $begingroup$

    The terminology here is a bit ambiguous. I've heard the term "convex MINLP" being used in two different ways:



    1. As others said, a problem where the continuous relaxation of the integer variables results in a convex problem, and

    2. An MINLP with a linear integer part and a convex continuous part (which is a subset of the previous definition). This is important for certain techniques, e.g. generalised Benders decomposition.





    share|improve this answer










    $endgroup$


















      2

















      $begingroup$

      The terminology here is a bit ambiguous. I've heard the term "convex MINLP" being used in two different ways:



      1. As others said, a problem where the continuous relaxation of the integer variables results in a convex problem, and

      2. An MINLP with a linear integer part and a convex continuous part (which is a subset of the previous definition). This is important for certain techniques, e.g. generalised Benders decomposition.





      share|improve this answer










      $endgroup$
















        2















        2











        2







        $begingroup$

        The terminology here is a bit ambiguous. I've heard the term "convex MINLP" being used in two different ways:



        1. As others said, a problem where the continuous relaxation of the integer variables results in a convex problem, and

        2. An MINLP with a linear integer part and a convex continuous part (which is a subset of the previous definition). This is important for certain techniques, e.g. generalised Benders decomposition.





        share|improve this answer










        $endgroup$



        The terminology here is a bit ambiguous. I've heard the term "convex MINLP" being used in two different ways:



        1. As others said, a problem where the continuous relaxation of the integer variables results in a convex problem, and

        2. An MINLP with a linear integer part and a convex continuous part (which is a subset of the previous definition). This is important for certain techniques, e.g. generalised Benders decomposition.






        share|improve this answer













        share|improve this answer




        share|improve this answer










        answered Sep 20 at 8:07









        nikazanikaza

        2,6391 silver badge19 bronze badges




        2,6391 silver badge19 bronze badges































            draft saved

            draft discarded















































            Thanks for contributing an answer to Operations Research Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2for.stackexchange.com%2fquestions%2f2595%2fcan-an-integer-optimization-problem-be-convex%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown









            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?