Searching Solver for a convex seperable Integer programm
up vote
0
down vote
favorite
I have given a problem of the form $min sum_{j=1}^n f_j(x_j)$, s.t. $sum_{j=1}^n g_j(x_j) leq b$. Both the $g_j$ and $f_j$ are convex functions and $x_j$ are integer, so its a convex seperable Integer programm.
Are there any solvers for this problem (preferably R or matlab, but ill take anything)?
Ive been googling but the only solution I found so far would be to transform the problem to a 0-1 knapsack problem and use an R solver. That would work, but I'd prefer a general solution without transforming the problem by hand first, because i have several problems of this type.
convex-optimization discrete-optimization
add a comment |
up vote
0
down vote
favorite
I have given a problem of the form $min sum_{j=1}^n f_j(x_j)$, s.t. $sum_{j=1}^n g_j(x_j) leq b$. Both the $g_j$ and $f_j$ are convex functions and $x_j$ are integer, so its a convex seperable Integer programm.
Are there any solvers for this problem (preferably R or matlab, but ill take anything)?
Ive been googling but the only solution I found so far would be to transform the problem to a 0-1 knapsack problem and use an R solver. That would work, but I'd prefer a general solution without transforming the problem by hand first, because i have several problems of this type.
convex-optimization discrete-optimization
What is the range for $x_j$ (so an upper bound)? Any MINLP solver should be able to solve this.
– LinAlg
Nov 17 at 23:15
The upper bound depends on the specific problem (I have several of the same form) but I can calculate it for each problem. So MINLP solvers work also for a full integer NLP? Can you recommend one?
– StefanWK
Nov 18 at 11:35
Typically MINLP solvers do not work so well since solving the nonlinear problems to optimality is difficult. Due to the separability however, you may be lucky.
– LinAlg
Nov 18 at 13:43
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have given a problem of the form $min sum_{j=1}^n f_j(x_j)$, s.t. $sum_{j=1}^n g_j(x_j) leq b$. Both the $g_j$ and $f_j$ are convex functions and $x_j$ are integer, so its a convex seperable Integer programm.
Are there any solvers for this problem (preferably R or matlab, but ill take anything)?
Ive been googling but the only solution I found so far would be to transform the problem to a 0-1 knapsack problem and use an R solver. That would work, but I'd prefer a general solution without transforming the problem by hand first, because i have several problems of this type.
convex-optimization discrete-optimization
I have given a problem of the form $min sum_{j=1}^n f_j(x_j)$, s.t. $sum_{j=1}^n g_j(x_j) leq b$. Both the $g_j$ and $f_j$ are convex functions and $x_j$ are integer, so its a convex seperable Integer programm.
Are there any solvers for this problem (preferably R or matlab, but ill take anything)?
Ive been googling but the only solution I found so far would be to transform the problem to a 0-1 knapsack problem and use an R solver. That would work, but I'd prefer a general solution without transforming the problem by hand first, because i have several problems of this type.
convex-optimization discrete-optimization
convex-optimization discrete-optimization
asked Nov 17 at 20:11
StefanWK
727
727
What is the range for $x_j$ (so an upper bound)? Any MINLP solver should be able to solve this.
– LinAlg
Nov 17 at 23:15
The upper bound depends on the specific problem (I have several of the same form) but I can calculate it for each problem. So MINLP solvers work also for a full integer NLP? Can you recommend one?
– StefanWK
Nov 18 at 11:35
Typically MINLP solvers do not work so well since solving the nonlinear problems to optimality is difficult. Due to the separability however, you may be lucky.
– LinAlg
Nov 18 at 13:43
add a comment |
What is the range for $x_j$ (so an upper bound)? Any MINLP solver should be able to solve this.
– LinAlg
Nov 17 at 23:15
The upper bound depends on the specific problem (I have several of the same form) but I can calculate it for each problem. So MINLP solvers work also for a full integer NLP? Can you recommend one?
– StefanWK
Nov 18 at 11:35
Typically MINLP solvers do not work so well since solving the nonlinear problems to optimality is difficult. Due to the separability however, you may be lucky.
– LinAlg
Nov 18 at 13:43
What is the range for $x_j$ (so an upper bound)? Any MINLP solver should be able to solve this.
– LinAlg
Nov 17 at 23:15
What is the range for $x_j$ (so an upper bound)? Any MINLP solver should be able to solve this.
– LinAlg
Nov 17 at 23:15
The upper bound depends on the specific problem (I have several of the same form) but I can calculate it for each problem. So MINLP solvers work also for a full integer NLP? Can you recommend one?
– StefanWK
Nov 18 at 11:35
The upper bound depends on the specific problem (I have several of the same form) but I can calculate it for each problem. So MINLP solvers work also for a full integer NLP? Can you recommend one?
– StefanWK
Nov 18 at 11:35
Typically MINLP solvers do not work so well since solving the nonlinear problems to optimality is difficult. Due to the separability however, you may be lucky.
– LinAlg
Nov 18 at 13:43
Typically MINLP solvers do not work so well since solving the nonlinear problems to optimality is difficult. Due to the separability however, you may be lucky.
– LinAlg
Nov 18 at 13:43
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
If the range of $x_j$ is limited, you can formulate the problems in terms of binary variables $y_{jk}$, where $y_{jk}=1$ if $x_j=k$. The problem is then:
$$min_{y in{0,1}^{ntimes K}} left{ sum_j sum_k y_{jk} f_j(k) mid sum_j sum_k y_{jk} g_j(k) leq b, sum_k y_{jk}=1 right}$$
The advantage of separability carries over, so I expect the relaxation to be efficiently solvable.
thanks for your answers so far, ive been thinking about it and have posted another question on the topic:math.stackexchange.com/questions/3004893/…
– StefanWK
Nov 19 at 12:55
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
If the range of $x_j$ is limited, you can formulate the problems in terms of binary variables $y_{jk}$, where $y_{jk}=1$ if $x_j=k$. The problem is then:
$$min_{y in{0,1}^{ntimes K}} left{ sum_j sum_k y_{jk} f_j(k) mid sum_j sum_k y_{jk} g_j(k) leq b, sum_k y_{jk}=1 right}$$
The advantage of separability carries over, so I expect the relaxation to be efficiently solvable.
thanks for your answers so far, ive been thinking about it and have posted another question on the topic:math.stackexchange.com/questions/3004893/…
– StefanWK
Nov 19 at 12:55
add a comment |
up vote
1
down vote
accepted
If the range of $x_j$ is limited, you can formulate the problems in terms of binary variables $y_{jk}$, where $y_{jk}=1$ if $x_j=k$. The problem is then:
$$min_{y in{0,1}^{ntimes K}} left{ sum_j sum_k y_{jk} f_j(k) mid sum_j sum_k y_{jk} g_j(k) leq b, sum_k y_{jk}=1 right}$$
The advantage of separability carries over, so I expect the relaxation to be efficiently solvable.
thanks for your answers so far, ive been thinking about it and have posted another question on the topic:math.stackexchange.com/questions/3004893/…
– StefanWK
Nov 19 at 12:55
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
If the range of $x_j$ is limited, you can formulate the problems in terms of binary variables $y_{jk}$, where $y_{jk}=1$ if $x_j=k$. The problem is then:
$$min_{y in{0,1}^{ntimes K}} left{ sum_j sum_k y_{jk} f_j(k) mid sum_j sum_k y_{jk} g_j(k) leq b, sum_k y_{jk}=1 right}$$
The advantage of separability carries over, so I expect the relaxation to be efficiently solvable.
If the range of $x_j$ is limited, you can formulate the problems in terms of binary variables $y_{jk}$, where $y_{jk}=1$ if $x_j=k$. The problem is then:
$$min_{y in{0,1}^{ntimes K}} left{ sum_j sum_k y_{jk} f_j(k) mid sum_j sum_k y_{jk} g_j(k) leq b, sum_k y_{jk}=1 right}$$
The advantage of separability carries over, so I expect the relaxation to be efficiently solvable.
answered Nov 18 at 13:47
LinAlg
7,6791520
7,6791520
thanks for your answers so far, ive been thinking about it and have posted another question on the topic:math.stackexchange.com/questions/3004893/…
– StefanWK
Nov 19 at 12:55
add a comment |
thanks for your answers so far, ive been thinking about it and have posted another question on the topic:math.stackexchange.com/questions/3004893/…
– StefanWK
Nov 19 at 12:55
thanks for your answers so far, ive been thinking about it and have posted another question on the topic:math.stackexchange.com/questions/3004893/…
– StefanWK
Nov 19 at 12:55
thanks for your answers so far, ive been thinking about it and have posted another question on the topic:math.stackexchange.com/questions/3004893/…
– StefanWK
Nov 19 at 12:55
add a comment |
Thanks for contributing an answer to Mathematics 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3002757%2fsearching-solver-for-a-convex-seperable-integer-programm%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
What is the range for $x_j$ (so an upper bound)? Any MINLP solver should be able to solve this.
– LinAlg
Nov 17 at 23:15
The upper bound depends on the specific problem (I have several of the same form) but I can calculate it for each problem. So MINLP solvers work also for a full integer NLP? Can you recommend one?
– StefanWK
Nov 18 at 11:35
Typically MINLP solvers do not work so well since solving the nonlinear problems to optimality is difficult. Due to the separability however, you may be lucky.
– LinAlg
Nov 18 at 13:43