Is it possible to turn this into a (standard) integer convex knapsack problem?











up vote
0
down vote

favorite












I have found a solution algorithm for integer knapsack problems of the following form:




$maxlimits_{x_j in [l_j,u_j]} sum_{j=1}^n f_j(x_j)$

such that $sum_{j=1}^n g_j(x_j) leq b$

Where $l_j<u_j$ and $f_j$ are concave and $g_j$ are convex on $[l_j,u_j]$, and both $f_j$ and $g_j$ are monotonically increasing on $[l_j,u_j]$.




I have a problem of the following form and im trying to write it in the above form but im not sure its possible:




$minlimits_{x_j in [l_j,u_j]} sum_{j=1}^n x_j c_j$

such that $sum_{j=1}^n frac{1}{x_j^{p-1}}d_j leq b$

Where $pin (1,2]$ and $c_j, d_j$ are known positive constants.




I could turn the $min x_jc_j$ into a $max f_j$ by defining $f_j(x_j) = -c_jx_j$ and it would be concave but the problem is the monotonicity. I cant introduce a subsitution $y_j=-x_j$ because thats not defined for the $g_j$. Is there maybe another approach?










share|cite|improve this question
























  • I do not see why the substitution causes a problem for $g$.
    – LinAlg
    yesterday












  • it seems like i made some errors posing the question I corrected them, sorry. The $x_i$ have to be integer and $g_j$ are decreasing if $x_j$ is increasing, that should be the other way around in the "standard" form
    – StefanWK
    yesterday










  • did I rephrase the problem correctly?
    – LinAlg
    yesterday






  • 1




    After the substitution $y_j = -x_j$, $g(x) = d_j / (-y_j)^{p-1}$ satisfies the conditions, right? Assuming $l_j >0$.
    – LinAlg
    yesterday






  • 1




    yes, that is correct
    – LinAlg
    23 hours ago















up vote
0
down vote

favorite












I have found a solution algorithm for integer knapsack problems of the following form:




$maxlimits_{x_j in [l_j,u_j]} sum_{j=1}^n f_j(x_j)$

such that $sum_{j=1}^n g_j(x_j) leq b$

Where $l_j<u_j$ and $f_j$ are concave and $g_j$ are convex on $[l_j,u_j]$, and both $f_j$ and $g_j$ are monotonically increasing on $[l_j,u_j]$.




I have a problem of the following form and im trying to write it in the above form but im not sure its possible:




$minlimits_{x_j in [l_j,u_j]} sum_{j=1}^n x_j c_j$

such that $sum_{j=1}^n frac{1}{x_j^{p-1}}d_j leq b$

Where $pin (1,2]$ and $c_j, d_j$ are known positive constants.




I could turn the $min x_jc_j$ into a $max f_j$ by defining $f_j(x_j) = -c_jx_j$ and it would be concave but the problem is the monotonicity. I cant introduce a subsitution $y_j=-x_j$ because thats not defined for the $g_j$. Is there maybe another approach?










share|cite|improve this question
























  • I do not see why the substitution causes a problem for $g$.
    – LinAlg
    yesterday












  • it seems like i made some errors posing the question I corrected them, sorry. The $x_i$ have to be integer and $g_j$ are decreasing if $x_j$ is increasing, that should be the other way around in the "standard" form
    – StefanWK
    yesterday










  • did I rephrase the problem correctly?
    – LinAlg
    yesterday






  • 1




    After the substitution $y_j = -x_j$, $g(x) = d_j / (-y_j)^{p-1}$ satisfies the conditions, right? Assuming $l_j >0$.
    – LinAlg
    yesterday






  • 1




    yes, that is correct
    – LinAlg
    23 hours ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have found a solution algorithm for integer knapsack problems of the following form:




$maxlimits_{x_j in [l_j,u_j]} sum_{j=1}^n f_j(x_j)$

such that $sum_{j=1}^n g_j(x_j) leq b$

Where $l_j<u_j$ and $f_j$ are concave and $g_j$ are convex on $[l_j,u_j]$, and both $f_j$ and $g_j$ are monotonically increasing on $[l_j,u_j]$.




I have a problem of the following form and im trying to write it in the above form but im not sure its possible:




$minlimits_{x_j in [l_j,u_j]} sum_{j=1}^n x_j c_j$

such that $sum_{j=1}^n frac{1}{x_j^{p-1}}d_j leq b$

Where $pin (1,2]$ and $c_j, d_j$ are known positive constants.




I could turn the $min x_jc_j$ into a $max f_j$ by defining $f_j(x_j) = -c_jx_j$ and it would be concave but the problem is the monotonicity. I cant introduce a subsitution $y_j=-x_j$ because thats not defined for the $g_j$. Is there maybe another approach?










share|cite|improve this question















I have found a solution algorithm for integer knapsack problems of the following form:




$maxlimits_{x_j in [l_j,u_j]} sum_{j=1}^n f_j(x_j)$

such that $sum_{j=1}^n g_j(x_j) leq b$

Where $l_j<u_j$ and $f_j$ are concave and $g_j$ are convex on $[l_j,u_j]$, and both $f_j$ and $g_j$ are monotonically increasing on $[l_j,u_j]$.




I have a problem of the following form and im trying to write it in the above form but im not sure its possible:




$minlimits_{x_j in [l_j,u_j]} sum_{j=1}^n x_j c_j$

such that $sum_{j=1}^n frac{1}{x_j^{p-1}}d_j leq b$

Where $pin (1,2]$ and $c_j, d_j$ are known positive constants.




I could turn the $min x_jc_j$ into a $max f_j$ by defining $f_j(x_j) = -c_jx_j$ and it would be concave but the problem is the monotonicity. I cant introduce a subsitution $y_j=-x_j$ because thats not defined for the $g_j$. Is there maybe another approach?







convex-optimization nonlinear-optimization discrete-optimization






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited yesterday









LinAlg

7,5491520




7,5491520










asked yesterday









StefanWK

727




727












  • I do not see why the substitution causes a problem for $g$.
    – LinAlg
    yesterday












  • it seems like i made some errors posing the question I corrected them, sorry. The $x_i$ have to be integer and $g_j$ are decreasing if $x_j$ is increasing, that should be the other way around in the "standard" form
    – StefanWK
    yesterday










  • did I rephrase the problem correctly?
    – LinAlg
    yesterday






  • 1




    After the substitution $y_j = -x_j$, $g(x) = d_j / (-y_j)^{p-1}$ satisfies the conditions, right? Assuming $l_j >0$.
    – LinAlg
    yesterday






  • 1




    yes, that is correct
    – LinAlg
    23 hours ago


















  • I do not see why the substitution causes a problem for $g$.
    – LinAlg
    yesterday












  • it seems like i made some errors posing the question I corrected them, sorry. The $x_i$ have to be integer and $g_j$ are decreasing if $x_j$ is increasing, that should be the other way around in the "standard" form
    – StefanWK
    yesterday










  • did I rephrase the problem correctly?
    – LinAlg
    yesterday






  • 1




    After the substitution $y_j = -x_j$, $g(x) = d_j / (-y_j)^{p-1}$ satisfies the conditions, right? Assuming $l_j >0$.
    – LinAlg
    yesterday






  • 1




    yes, that is correct
    – LinAlg
    23 hours ago
















I do not see why the substitution causes a problem for $g$.
– LinAlg
yesterday






I do not see why the substitution causes a problem for $g$.
– LinAlg
yesterday














it seems like i made some errors posing the question I corrected them, sorry. The $x_i$ have to be integer and $g_j$ are decreasing if $x_j$ is increasing, that should be the other way around in the "standard" form
– StefanWK
yesterday




it seems like i made some errors posing the question I corrected them, sorry. The $x_i$ have to be integer and $g_j$ are decreasing if $x_j$ is increasing, that should be the other way around in the "standard" form
– StefanWK
yesterday












did I rephrase the problem correctly?
– LinAlg
yesterday




did I rephrase the problem correctly?
– LinAlg
yesterday




1




1




After the substitution $y_j = -x_j$, $g(x) = d_j / (-y_j)^{p-1}$ satisfies the conditions, right? Assuming $l_j >0$.
– LinAlg
yesterday




After the substitution $y_j = -x_j$, $g(x) = d_j / (-y_j)^{p-1}$ satisfies the conditions, right? Assuming $l_j >0$.
– LinAlg
yesterday




1




1




yes, that is correct
– LinAlg
23 hours ago




yes, that is correct
– LinAlg
23 hours ago















active

oldest

votes











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
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',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3004893%2fis-it-possible-to-turn-this-into-a-standard-integer-convex-knapsack-problem%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3004893%2fis-it-possible-to-turn-this-into-a-standard-integer-convex-knapsack-problem%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

Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

Does disintegrating a polymorphed enemy still kill it after the 2018 errata?

A Topological Invariant for $pi_3(U(n))$