I am working on a binary non-linear programming. The objective function is exponential. For example,
Maximize -exp(-(2*(x(1)+x(2)))^1.2)*exp(-(1*(x(3)+x(4)))^1.2)
Constraint:
x(1)+x(3)=1;
x(2)+x(4)=1;
x(1)+x(2) >= x(3)+x(4)
x(i)={0 or 1},
i=1, 2, 3, 4
I never solve the binary non-linear programming before. Shall I use GA or try some solvers? But GA can not specify the binary constraints.
I tried minlp from tomlab. But the Hessian matrix is too complex to compute and 1/0^0.8 can occur, which will make the result inf.
Anyone can help?? Thanks a lot.
|
|
0
|
|
|
|
Reply
|
John
|
1/12/2010 4:19:03 AM |
|
Is this the size of problems you really intend to solve? In tjhat case, just solve it by enumeration. In this case, you immediately see that out of the 16 combinations, there is only one feasible, X = [1 1 0 0]
"John Wang" <huiwang223@gmail.com> wrote in message <higt7n$gmp$1@fred.mathworks.com>...
> I am working on a binary non-linear programming. The objective function is exponential. For example,
>
> Maximize -exp(-(2*(x(1)+x(2)))^1.2)*exp(-(1*(x(3)+x(4)))^1.2)
>
> Constraint:
> x(1)+x(3)=1;
> x(2)+x(4)=1;
> x(1)+x(2) >= x(3)+x(4)
>
> x(i)={0 or 1},
> i=1, 2, 3, 4
>
> I never solve the binary non-linear programming before. Shall I use GA or try some solvers? But GA can not specify the binary constraints.
>
> I tried minlp from tomlab. But the Hessian matrix is too complex to compute and 1/0^0.8 can occur, which will make the result inf.
>
> Anyone can help?? Thanks a lot.
|
|
0
|
|
|
|
Reply
|
Johan
|
1/12/2010 9:15:22 AM
|
|
Thanks for the reply.
This is a just an example. The actual problem size will be bigger. The variable will be 25. Then that will be 2^25 possible combinations. Enumeration probably is a good way to do that.
John
€€€"Johan Löfberg" <loefberg@control.ee.ethz.ch> wrote in message <hihej9$be4$1@fred.mathworks.com>...
> Is this the size of problems you really intend to solve? In tjhat case, just solve it by enumeration. In this case, you immediately see that out of the 16 combinations, there is only one feasible, X = [1 1 0 0]
>
> "John Wang" <huiwang223@gmail.com> wrote in message <higt7n$gmp$1@fred.mathworks.com>...
> > I am working on a binary non-linear programming. The objective function is exponential. For example,
> >
> > Maximize -exp(-(2*(x(1)+x(2)))^1.2)*exp(-(1*(x(3)+x(4)))^1.2)
> >
> > Constraint:
> > x(1)+x(3)=1;
> > x(2)+x(4)=1;
> > x(1)+x(2) >= x(3)+x(4)
> >
> > x(i)={0 or 1},
> > i=1, 2, 3, 4
> >
> > I never solve the binary non-linear programming before. Shall I use GA or try some solvers? But GA can not specify the binary constraints.
> >
> > I tried minlp from tomlab. But the Hessian matrix is too complex to compute and 1/0^0.8 can occur, which will make the result inf.
> >
> > Anyone can help?? Thanks a lot.
|
|
0
|
|
|
|
Reply
|
John
|
1/12/2010 2:47:05 PM
|
|
|
2 Replies
334 Views
(page loaded in 0.313 seconds)
Similiar Articles: integer programming with matlab - comp.soft-sys.matlabhelp needed in 0-1 binary nonlinear programming - comp.soft-sys ... integer programming with matlab - comp.soft-sys.matlab... for integer programming optimization with ... integer programming with matlab - comp.soft-sys.matlab... am using matlab for integer programming optimization with nonlinear ... Would you please help me in a very ... problems - MATLAB bintprog -Solve binary integer programming ... Non Linear Constrained Optimization - comp.soft-sys.matlab ...help needed in 0-1 binary nonlinear programming - comp.soft-sys ... Non Linear Constrained Optimization - comp.soft-sys.matlab ..... toolbox can handle MINLPs, but you ... Functional programming - comp.graphics.api.opengl0 Replies 75 Views (0.029 seconds) Tweet ... matlab - comp.soft-sys.matlab Hi I am using matlab for integer programming optimization with nonlinear ... IDL Error GCPC data - comp.lang.idl-pvwavehelp needed in 0-1 binary nonlinear programming - comp.soft-sys ... IDL Error GCPC data - comp.lang.idl-pvwave... day Evrybody, I'm trying to retreive data from binary ... backpropagation code for prediction. - comp.soft-sys.matlab ...help needed in 0-1 binary nonlinear programming - comp.soft-sys ... code to convert negative fractions to binary - comp.soft-sys ..... binary that you need to ... maximize a function with two variables - comp.soft-sys.matlab ...Position', get(0, 'ScreenSize')); % Maximize figure. % Make a 2 ... -- Dr Jon D Harrop, Flying Frog ... am using matlab for integer programming optimization with nonlinear ... backpropagation code - comp.soft-sys.matlabhelp needed in 0-1 binary nonlinear programming - comp.soft-sys ... backpropagation code for prediction. - comp.soft-sys.matlab ... HELLO, I am ganesh sharma IIT guwahati ... Nonstationary nonlinear programming - comp.soft-sys.matlab ...Hi, I have some difficulties properly solving a nonlinear programming problem. The system I need to ... 0 Replies 181 Views (0.13 seconds) Tweet Problem sending binary file via socket. - comp.unix.programmer ...... argv[2], strlen(argv[2]) + 1, 0 ... Help on getting .h files for socket programming - comp.unix ... ... argv[2], strlen(argv[2]) + 1, 0); fp = fopen ... binary ... integer programming with matlab - comp.soft-sys.matlab | Computer ...help needed in 0-1 binary nonlinear programming - comp.soft-sys ... integer programming with matlab - comp.soft-sys.matlab... for integer programming optimization with ... integer programming with matlab - comp.soft-sys.matlab | Computer ...... am using matlab for integer programming optimization with nonlinear ... Would you please help me in a very ... problems - MATLAB bintprog -Solve binary integer programming ... 7/23/2012 10:53:36 PM
|