4.29167

4.3 | 24 ratings Rate this file 59 downloads (last 30 days) File Size: 138.03 KB File ID: #95

bnb

by Koert Kuipers

 

14 Feb 2000 (Updated 15 Aug 2003)

No BSD License  

BNB20 solves mixed integer nonlinear optimization problems

Download Now | Watch this File

File Information
Description

BNB20 solves mixed integer nonlinear optimization problems. It is a branch-and-bound type algorithm.

Required Products Optimization Toolbox
MATLAB release MATLAB 5.3 (R11)
Zip File Content  
Other Files
BNB20.m,
BNBGUI.m,
BNBGUICB.m,
BNBHELP.txt,
Example.zip,
font/crld.ttf,
optim/nlconst.m,
optim/qpsub.m,
private/guierr.m,
private/guierr.mat,
private/guifun.m,
private/guifun.mat,
private/guimain.m,
private/guimain.mat,
private/guiset.m,
private/guiset.mat,
private/guiupd.m,
private/guiupd.mat,
readme.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (26)
19 May 2002 George Pau

Very good basic implementation of branch and bound.

03 Dec 2002 H hasper  
01 Jul 2003 Nguyen Quoc Vo  
02 Jul 2003 Atanas Chervenkov  
29 Jun 2004 Andrew Odjo  
31 Jul 2004 vinod kumar

please provide pdf help files and pseudo codes and comments on each step.

29 Dec 2004 Bakhtiyar Tokpayev  
04 Mar 2005 Pradeep Shrinivas

Dear sir,
           Your work is excellent, we are using your work for our project.

              Regards,
          Pradeep &Shrinivas
        ( BE (CSE)Final Year)
         BCET Bangalore-560081

21 Mar 2005 shrinivas pradeep

sir,
can you please send the manual for bnb.m (matlab) file.

04 Sep 2005 kinky leung

Thanks!But is it free?

15 Nov 2005 Bess Bai

Thanks! is there the manual for bnb.m (matlab) file?

02 Aug 2006 Puthut Wibowo

Hmmm......

25 Aug 2006 Naresh Nandola  
10 Nov 2006 Dingyu Xue

Further suggestions
1) better to allow function handles
2) fine-tuning of the argument and results for integer variables:
2a. in the starting part of the function, give xlb(xstat)=ceil(xlb(xstat)); xub(xstat)=floor(xub(xstat))
2b. at the end of the function, X(xstat)=round(X(xstat))

27 Dec 2006 asd sad  
17 Apr 2007 Mojtaba Hajihasani

Your proposed method suffers from big problem, beacuse in sub-problem you have brought the problem into continues domain.

30 Jun 2007 wang lingli

study

10 Apr 2008 jacky LI

the example is not good enough!

08 Jun 2008 mark elec

Does the algorithm support for non-convex problem ???

09 Jul 2008 Yubin Bao

easy to use

05 Sep 2008 Sun Qiyue

I can not work it out? the example is not so good and I always get the error: fun caused error

06 Sep 2008 Guo Xiaoyu

Thank you very mucn

16 Sep 2008 Luo chengjin

I think it's good!

27 Sep 2008 liu bingbing

very good!

07 May 2009 Bartosz

I have a problem with this algorithm I start it like that
[errmsg,Z,X,t,c,fail] = BNB20(fun,para',[0 0 1 1 1 1]',[150 125 3 2 11 1]',ub',[],[],[],[],'problemconstraints',[],options,dmodel,SampMin,weight,constraints)
yet one of the parameters is assigned a negative value during the operation of the algorithm

21 Oct 2009 mhihn

I'm trying to run a mixed integer nonlinear programming (MINLP) problem using BNB20. However, irrespective of the complexity of my algorithm, I'm always getting the following results. It would be great if anyone can explain this result.

*** searched 0 % of tree
*** Z : Inf
*** t : 0.0 secs
*** c : 0 cycles
*** fail : 0 cycles
Optimization terminated: first-order optimality measure less
 than options.TolFun and maximum constraint violation is less
 than options.TolCon.
Active inequalities (to within options.TolCon = 1e-006):
  lower upper ineqlin ineqnonlin
                    11 31
                    12 32
                    13 33
                    34
                    35
                    36
                    37
                    38
                    39
                    40
                    41
                    42
                    43
                    44
                    45
??? Error using ==> lt
Matrix dimensions must agree.

Error in ==> BNB20 at 247
elseif all(abs(round(x(K))-x(K))<errx) & convflag>0

Please login to add a comment or rating.
Updates

mod desc

16 Nov 2001

Found some bugs and added an example.

15 Aug 2003

only my contact information has been updated

Tag Activity for this File
Tag Applied By Date/Time
optimization Koert Kuipers 22 Oct 2008 06:31:58
mixed Koert Kuipers 22 Oct 2008 06:31:58
nonlinear Koert Kuipers 22 Oct 2008 06:31:58
branchandbound Koert Kuipers 22 Oct 2008 06:31:58
general integer linear programming Fikri Abror 30 Nov 2008 04:38:16
branchandbound Michael Weidman 16 Mar 2009 15:10:31
mixed integer Eva 26 May 2009 08:28:56
nonlinear optimization Eva 26 May 2009 08:28:56
mixed integer Manuel Alvarez 28 Aug 2009 21:02:50
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com