Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.181.359 Times

0-1 Knapsack 1.0

  Date Added: May 03, 2013  |  Visits: 342

0-1 Knapsack

Report Broken Link
Printer Friendly Version


Product Homepage
Download (49 downloads)



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.

Requirements: No special requirements
Platforms: Matlab
Keyword: Amount Argument Arguments Constraint Knapsackweights Order Output Return Returned Values Weight Weights
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


0-1 KNAPSACK RELATED
Modules  -  Zone Shipping with the support of Insurance Charge 1.0
I hope to include an insurance charge to the shipping charge, which is based on a table rate of the total order amount, in addition to the table rate of the shipping weight that the zone shipping module support.I scanned through the contribution...
 
Modules  -  Sort Option Values Module 1.1
Simply set the sort order for the option values in admin. Every product with attributes will reflect the sort order in the option values dropdown box on the product page.
 
Miscellaneous  -  Splitting iterators 1.0
This script shows an implementation of isplit, a function that splits iterators into two equal ones, which return similar values, but are exact copies of one another.
 
Database Tools  -  MyEzSQL 1.0
The MySQLi extension functions are used to establish a connection with a MySQL server.MyEzSQL executes SELECT, INSERT, UPDATE and DELETE queries from lists of arguments that define the tables, fields, field values and condition clauses.
20.48 KB  
Utilities  -  Arbitrary Command Output Colourer 0.7.1
acoc is a regular-expression based colour formatter for programs that display output on the command-line. It works as a wrapper around the target program, executing it and capturing the stdout stream. Optionally, stderr can be redirected to...
40.96 KB  
Database Tools  -  MySQL Paging 1.0
MySQL Paging is a simple class that can return a MySQL database query results for spliting into multiple pages given the maximum number of result rows to present on each page.Usage :- Create a class object with 3 arguments: MySQL SQL query, limit...
10 KB  
Programming  -  django-netcash 0.4.0
A pluggable Django application for integrating netcash.co.za payment system. Install $ pip install django-netcash or $ easy_install django-netcash or $ hg clone...
10.24 KB  
Network & Internet  -  django-payfast 0.2.2
A pluggable Django application for integrating payfast.co.za payment system. Install $ pip install django-payfast or $ easy_install django-payfast or $ hg clone...
10.24 KB  
Libraries  -  B::JVM::Jasmin::Emit 0.02
B::JVM::Jasmin::Emit is a package used by B::JVM::Jasmin to emit Jasmin syntaxed file. SYNOPSIS use B::JVM::Jasmin::Emit; my $emitter = new B::JVM::Emit(FILEHANDLE); # ... $emitter->DIRECTIVE_NAME([@ARGS]); # ......
44.03 KB  
Libraries  -  Filesys::Df 0.92
Filesys::Df is a Perl extension for filesystem disk space information. SYNOPSIS use Filesys::Df; #### Get information by passing a scalar directory/filename value my $ref = df("/tmp"); # Default output is 1K blocks if(defined($ref)) {...
7.17 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB  
Development Tools  -  PHP Docbook Displayer for Scripts 1.0b
PHP Docbook Displayer provides XSL and CSS stylesheets, and PHP scripts, to generate easily and dynamically websites from Docbook files.It aims at simplifying to the max the web publication process : simply drop the docbook file under the site root !
102.4 KB  
Development Tools  -  WP Translate 1.0
This simple language translation plugin allows your users to quickly translate your webpages, through a widget on your blog.You have the option to select the title of the Widget, which will be displayed above the language translation form. Users...
10 KB