Is scipy.linprog with method='interior-point' suitable for non linear optimization with large data set? if...











up vote
0
down vote

favorite












I'm doing non linear optimization using python. I have a large data set,around 100,000 rows.
My objective function is like



z=(aXLM+bXNM-c)XCM, where a,b & c are constant.LM & NM are the variables which I need to modify to maximize z


CM is defined as



CM=exp(k+m*log(LM)+n*log(NM))+K1 where K, K1, m & n are constant & CM will come in equality constraint CM=S


I was using interior point method because I have a large data set of 100,000 records & initially my model was linear. Given the non linear model & such a big data set can you please suggest me if method='interior-point' suitable or not? & If not suitable then considering the large data set which optimization technique I should use in python?










share|improve this question






















  • How were you even using linprog at all? linprog is linear programming, and your objective is nonlinear.
    – user2357112
    Nov 10 at 16:48










  • @user2357112, as I mentioned in my first post, Initially my problem was linear, so I was using linprog. Can you please suggest me which non linear technique is suitable for handling around 100,000 rows of data set in python?
    – Jesmin
    Nov 10 at 17:14










  • Any suggestion please?
    – Jesmin
    Nov 11 at 11:51










  • Your model is not very clearly stated, so I don't understand it. Large scale nonlinear programming solvers are readily available (to mention a few: ipopt, minos, snopt, conopt, knitro). Many can be accessed through the Pyomo Python modeling tool.
    – Erwin Kalvelagen
    Nov 11 at 14:24















up vote
0
down vote

favorite












I'm doing non linear optimization using python. I have a large data set,around 100,000 rows.
My objective function is like



z=(aXLM+bXNM-c)XCM, where a,b & c are constant.LM & NM are the variables which I need to modify to maximize z


CM is defined as



CM=exp(k+m*log(LM)+n*log(NM))+K1 where K, K1, m & n are constant & CM will come in equality constraint CM=S


I was using interior point method because I have a large data set of 100,000 records & initially my model was linear. Given the non linear model & such a big data set can you please suggest me if method='interior-point' suitable or not? & If not suitable then considering the large data set which optimization technique I should use in python?










share|improve this question






















  • How were you even using linprog at all? linprog is linear programming, and your objective is nonlinear.
    – user2357112
    Nov 10 at 16:48










  • @user2357112, as I mentioned in my first post, Initially my problem was linear, so I was using linprog. Can you please suggest me which non linear technique is suitable for handling around 100,000 rows of data set in python?
    – Jesmin
    Nov 10 at 17:14










  • Any suggestion please?
    – Jesmin
    Nov 11 at 11:51










  • Your model is not very clearly stated, so I don't understand it. Large scale nonlinear programming solvers are readily available (to mention a few: ipopt, minos, snopt, conopt, knitro). Many can be accessed through the Pyomo Python modeling tool.
    – Erwin Kalvelagen
    Nov 11 at 14:24













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm doing non linear optimization using python. I have a large data set,around 100,000 rows.
My objective function is like



z=(aXLM+bXNM-c)XCM, where a,b & c are constant.LM & NM are the variables which I need to modify to maximize z


CM is defined as



CM=exp(k+m*log(LM)+n*log(NM))+K1 where K, K1, m & n are constant & CM will come in equality constraint CM=S


I was using interior point method because I have a large data set of 100,000 records & initially my model was linear. Given the non linear model & such a big data set can you please suggest me if method='interior-point' suitable or not? & If not suitable then considering the large data set which optimization technique I should use in python?










share|improve this question













I'm doing non linear optimization using python. I have a large data set,around 100,000 rows.
My objective function is like



z=(aXLM+bXNM-c)XCM, where a,b & c are constant.LM & NM are the variables which I need to modify to maximize z


CM is defined as



CM=exp(k+m*log(LM)+n*log(NM))+K1 where K, K1, m & n are constant & CM will come in equality constraint CM=S


I was using interior point method because I have a large data set of 100,000 records & initially my model was linear. Given the non linear model & such a big data set can you please suggest me if method='interior-point' suitable or not? & If not suitable then considering the large data set which optimization technique I should use in python?







python optimization






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 10 at 16:45









Jesmin

165




165












  • How were you even using linprog at all? linprog is linear programming, and your objective is nonlinear.
    – user2357112
    Nov 10 at 16:48










  • @user2357112, as I mentioned in my first post, Initially my problem was linear, so I was using linprog. Can you please suggest me which non linear technique is suitable for handling around 100,000 rows of data set in python?
    – Jesmin
    Nov 10 at 17:14










  • Any suggestion please?
    – Jesmin
    Nov 11 at 11:51










  • Your model is not very clearly stated, so I don't understand it. Large scale nonlinear programming solvers are readily available (to mention a few: ipopt, minos, snopt, conopt, knitro). Many can be accessed through the Pyomo Python modeling tool.
    – Erwin Kalvelagen
    Nov 11 at 14:24


















  • How were you even using linprog at all? linprog is linear programming, and your objective is nonlinear.
    – user2357112
    Nov 10 at 16:48










  • @user2357112, as I mentioned in my first post, Initially my problem was linear, so I was using linprog. Can you please suggest me which non linear technique is suitable for handling around 100,000 rows of data set in python?
    – Jesmin
    Nov 10 at 17:14










  • Any suggestion please?
    – Jesmin
    Nov 11 at 11:51










  • Your model is not very clearly stated, so I don't understand it. Large scale nonlinear programming solvers are readily available (to mention a few: ipopt, minos, snopt, conopt, knitro). Many can be accessed through the Pyomo Python modeling tool.
    – Erwin Kalvelagen
    Nov 11 at 14:24
















How were you even using linprog at all? linprog is linear programming, and your objective is nonlinear.
– user2357112
Nov 10 at 16:48




How were you even using linprog at all? linprog is linear programming, and your objective is nonlinear.
– user2357112
Nov 10 at 16:48












@user2357112, as I mentioned in my first post, Initially my problem was linear, so I was using linprog. Can you please suggest me which non linear technique is suitable for handling around 100,000 rows of data set in python?
– Jesmin
Nov 10 at 17:14




@user2357112, as I mentioned in my first post, Initially my problem was linear, so I was using linprog. Can you please suggest me which non linear technique is suitable for handling around 100,000 rows of data set in python?
– Jesmin
Nov 10 at 17:14












Any suggestion please?
– Jesmin
Nov 11 at 11:51




Any suggestion please?
– Jesmin
Nov 11 at 11:51












Your model is not very clearly stated, so I don't understand it. Large scale nonlinear programming solvers are readily available (to mention a few: ipopt, minos, snopt, conopt, knitro). Many can be accessed through the Pyomo Python modeling tool.
– Erwin Kalvelagen
Nov 11 at 14:24




Your model is not very clearly stated, so I don't understand it. Large scale nonlinear programming solvers are readily available (to mention a few: ipopt, minos, snopt, conopt, knitro). Many can be accessed through the Pyomo Python modeling tool.
– Erwin Kalvelagen
Nov 11 at 14:24

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241139%2fis-scipy-linprog-with-method-interior-point-suitable-for-non-linear-optimizati%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%2fstackoverflow.com%2fquestions%2f53241139%2fis-scipy-linprog-with-method-interior-point-suitable-for-non-linear-optimizati%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

Full-time equivalent

さくらももこ

13 indicted, 8 arrested in Calif. drug cartel investigation