Home > By category > Scripts >Development Tools > 0-1 Knapsack



0-1 Knapsack

  • Downloads: 
  • Views: 
  • Rating:

Please let others rate your work. Rating your own stuff highly says nothing about the code, but perhaps drops you closer to the level of a spammer on the FEX like Marco. So let the rating system do its job. I know that you think your stuff is good. So does every eager high school student who posts their last homework assignment.

In the particular case of this utility. I'll first suggest that there is no reason to publish the code for knapsack itself. See there was an error generated when you tried it.

How about the help? It too is lacking. It is not terrible, but still lacking. Here is the relevant part of the help block.

% [AMOUNT] = KNAPSACK(WEIGHTS, VALUES, CONSTRAINT)
%
% WEIGHTS : The weight of every item
% VALUES : The value of every item
% CONSTRAINT : The weight constraint of the knapsack
%
% BEST : Value of best possible knapsack
% AMOUNT : The amount to use of each item (0 or 1)

See that there appear to be two return arguments, but your help does not tell us what order they are in. In fact, when only one output argument is returned, it looks to be the second of the two outputs. I won't suggest what your code actually does. That is your job.

There was a nicely written H1 line in the help. Well done in that respect. I also found error checks in the code.

Finally, the best code would include a simple example in the help itself. I know, you will claim there is one in the demo file. But when people actually download this, they will often look to the help rather than search for some other file.

Free download from Shareware Connection - Please let others rate your work

Publisher: Petter | License: Freeware | Price: 0.00
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 26-06-2013 | Rating: 0 | Title: 0-1 Knapsack

Author Url: http://wordpress.org
Program Info Url: http://wordpress.org
Download Url: http://www.mathworks.com/matlabcentral/fx_files/22783/5/knapsack.zip

0-1 Knapsack keywords:
0-1 Knapsack related downloads:

1-st order high-pass filter - 1-st order Butterworth high-pass is a useful sound filter that was designed with a very simple yet functional interface.

1-st order low-pass filter - 1-st order Butterworth low-pass is a handy audio filter that comes with a minimalistic yet functional interface.

RAM Booster Pro - RAM Booster Pro v5.0.1 cleans the RAM and stops the Memory Leak

NetworkService - NetworkService is a communication interface for multicast group members and message passing system that has the following properties: -Reliable message delivery (1.0.0.2+). -In-order message delivery. -Unicast and multicast message passing.

DeltaRule - Routine accepts input variables, binary target variable (0/1) and a small number of training parameters, and returns discovered coefficients for a single neuron

Shareware Connection periodically updates pricing and software information of '0-1 Knapsack' from company source 'Petter' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using '0-1 Knapsack' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of 0-1 Knapsack.

New Reviews

Driver Fusion - To keep your laptop and desktop running smoothly and get the best performance out of it, it is important to pay attention to some aspects. It is quite important to ensure your PC device drivers are updated. Components like motherboards, GPU and ...

Style Jukebox - No matter if you use a computer for personal needs or work in a networked setup, listening to music is commonplace. It is required for relaxation amidst work and nearly every user indulges in it. For music playback on PC, the WMP is not the only ...

Backup Dwarf Home Edition - Making backups of data and media content has become extremely important for computer users nowadays. Owing to hardware failure, you may end up losing gigabytes of precious data. Besides, you may not want to leave sensitive data accessible to all ...

Argente - Registry Cleaner - Keeping the Windows registry clean and optimized is essential for getting optimum performance from the PC. While most users do not prefer tinkering with registry settings, it may get laden with erroneous and invalid entries over prolonged usage. ...

PCFerret - For average PC users learning about the details of each hardware component used in the laptop or desktop may not be an easy task. It is something the geeks can find out easily. However, less tech savvy PC users can surely resort to specialized ...

Any Video Converter Free for Mac - Apple does have some stellar media applications for users of Mac OS but at times, you may feel the need for using third party apps too. Its FCP is regarded as an industry leading and powerful video editor but average Mac users may not need such a ...

Norton Security with Backup - Symantec is an old time player in PC security and its various security suites with Norton brand name are used all over the world. With time, Norton security apps have been tweaked to consume fewer resources and they come with several bells and ...

Bitcasa - The way computing technology evolves is quite amazing. Even a few years back data backup was limited mostly to external hard drives and DVDs. However, the proliferation of high speed internet access and emergence of cloud storage services have ...

PotPlayer - When it comes to selecting a suitable media player application, the profuse options can leave most PC users baffled. While the bundled WMP has become far more polished than its predecessors in latest releases of Windows, a section of users prefer ...

PC Wizard 2012 - Average computer users use their laptops and desktops to run productivity applications, watch movies, browse web and perform other computing needs. However, seasoned users think beyond these and they need to find out in depth information about ...




New Downloads

B2B E-Commerce Software -
TradeMart v1.0

NCrypted - Trading Software of
Alibaba Clone Script is a
superb answer for dispatch
your own business to business
site.

Free ISO Grabber

It grabs an exact image of a
CD/DVD and it supports CD/DVD
discs of almost all formats.
The program operates in wizard
...

.NET WORD Component for CS
VB.NET ASP.NET

A high-speed, reliable WORD
library with affordable price
which lets you add WORD
functionality to your .NET
applications ...

recursive solver to peg
solitaire contest

A recursive version of the
fast solver to provide more
tweak handles for those wish
to push the 3-minute limits

get_trace

Reads a trace from Tektronics
370 Curve Traqcer

Search configuration

This module has five main
functions

Demo files for MATLAB for
Excel Users in Academia
Webinar

The ZIP file contains the demo
files used in the "MATLAB for
Excel Users in Academia"
Webinar recorded on May 25,
2007

BlackBody

BlackBody accepts temperature
as input and returns total
radiance and peak radiance

Patterns

Complex websites and web
applications can be created by
combining configurations of
Modules, Content Types (CCK,)
Views, ...

1st order ODE's numerical
solution with EULER method

Euler modified approximation
method to solve IVP ODEs

EDGEMESH

Plots edge connections and
edge based data.

Roaming Cursor for Graphics
and Animations

Roaming Cursor script presents
a cursor image that moves on a
random path.