]> gitweb.michael.orlitzky.com - dead/census-tools.git/log
dead/census-tools.git
13 years agoAdded the linear program solving the midatlantic region. master
Michael Orlitzky [Wed, 4 Aug 2010 18:12:37 +0000 (14:12 -0400)]
Added the linear program solving the midatlantic region.

13 years agoAdded a property for the linear program's epsilon level.
Michael Orlitzky [Sat, 10 Jul 2010 01:21:56 +0000 (21:21 -0400)]
Added a property for the linear program's epsilon level.

13 years agoFix an off-by-one error.
Michael Orlitzky [Fri, 9 Jul 2010 07:05:10 +0000 (03:05 -0400)]
Fix an off-by-one error.

13 years agoAdded the variables() method to the SimplexIteration class.
Michael Orlitzky [Fri, 18 Jun 2010 05:46:33 +0000 (01:46 -0400)]
Added the variables() method to the SimplexIteration class.

13 years agoAdded the objective_function_value() method to the SimplexIteration class.
Michael Orlitzky [Fri, 18 Jun 2010 05:44:02 +0000 (01:44 -0400)]
Added the objective_function_value() method to the SimplexIteration class.

13 years agoAdded the unit tests for the SimplexIteration class.
Michael Orlitzky [Mon, 14 Jun 2010 08:14:35 +0000 (04:14 -0400)]
Added the unit tests for the SimplexIteration class.

13 years agoAdded the SimplexIteration class to the LinearProgramming module.
Michael Orlitzky [Mon, 14 Jun 2010 08:14:09 +0000 (04:14 -0400)]
Added the SimplexIteration class to the LinearProgramming module.

13 years agoRenamed the SimplexMethodTest to SimplexIterationTest.
Michael Orlitzky [Mon, 14 Jun 2010 08:13:48 +0000 (04:13 -0400)]
Renamed the SimplexMethodTest to SimplexIterationTest.

13 years agoCreated a new run_tests script that sets LD_LIBRARY_PATH before running the test...
Michael Orlitzky [Mon, 14 Jun 2010 04:57:34 +0000 (00:57 -0400)]
Created a new run_tests script that sets LD_LIBRARY_PATH before running the test suite.

13 years agoUpdate a FileUtils test so that it doesn't depend on the ordering of a list.
Michael Orlitzky [Mon, 14 Jun 2010 04:06:34 +0000 (00:06 -0400)]
Update a FileUtils test so that it doesn't depend on the ordering of a list.

13 years agoRename the run_tests script to test_suite.
Michael Orlitzky [Mon, 14 Jun 2010 03:46:29 +0000 (23:46 -0400)]
Rename the run_tests script to test_suite.

13 years agoAdd the SimplexMethod test suite to run_tests.
Michael Orlitzky [Mon, 14 Jun 2010 03:46:01 +0000 (23:46 -0400)]
Add the SimplexMethod test suite to run_tests.

13 years agoAdded a setter for the type property.
Michael Orlitzky [Sat, 12 Jun 2010 16:47:44 +0000 (12:47 -0400)]
Added a setter for the type property.
Added a print_tableau method.

13 years agoAdded three LP scripts that run trials given uniformly-distributed cost coefficients.
Michael Orlitzky [Sat, 22 May 2010 16:00:41 +0000 (12:00 -0400)]
Added three LP scripts that run trials given uniformly-distributed cost coefficients.

13 years agoSeparate the tests that hit the database from the rest of the tests.
Michael Orlitzky [Sat, 15 May 2010 19:25:39 +0000 (15:25 -0400)]
Separate the tests that hit the database from the rest of the tests.

13 years agoPlace the call to connection.close() within a try/except block.
Michael Orlitzky [Sat, 15 May 2010 19:24:53 +0000 (15:24 -0400)]
Place the call to connection.close() within a try/except block.

13 years agoReduced the size of the test fixture for SummaryFile1, and recomputed the expected...
Michael Orlitzky [Sat, 15 May 2010 18:39:07 +0000 (14:39 -0400)]
Reduced the size of the test fixture for SummaryFile1, and recomputed the expected values.

13 years agoAdded the probability package containing the Distribution module.
Michael Orlitzky [Sat, 15 May 2010 04:03:22 +0000 (00:03 -0400)]
Added the probability package containing the Distribution module.

13 years agoAdded the (Uniform)DistributionTest modules.
Michael Orlitzky [Sat, 15 May 2010 03:57:54 +0000 (23:57 -0400)]
Added the (Uniform)DistributionTest modules.

13 years agoAdded (Uniform)Distribution tests to the test script.
Michael Orlitzky [Sat, 15 May 2010 03:56:56 +0000 (23:56 -0400)]
Added (Uniform)Distribution tests to the test script.

13 years agoUpdate the search path within the LinearProgramming module.
Michael Orlitzky [Mon, 10 May 2010 17:39:25 +0000 (13:39 -0400)]
Update the search path within the LinearProgramming module.

13 years agoUpdate the lp_solve wrapper's LD_LIBRARY_PATH.
Michael Orlitzky [Mon, 10 May 2010 17:38:53 +0000 (13:38 -0400)]
Update the lp_solve wrapper's LD_LIBRARY_PATH.

13 years agoUpdate the example LP's search path to look one directory deeper.
Michael Orlitzky [Mon, 10 May 2010 17:37:02 +0000 (13:37 -0400)]
Update the example LP's search path to look one directory deeper.

13 years agoMoved the example linear program and the wrapper in to a separate folder.
Michael Orlitzky [Mon, 10 May 2010 17:35:51 +0000 (13:35 -0400)]
Moved the example linear program and the wrapper in to a separate folder.

13 years agoFixed a variable name in the example linear program.
Michael Orlitzky [Sat, 8 May 2010 03:01:14 +0000 (23:01 -0400)]
Fixed a variable name in the example linear program.

13 years agoAdded a readme for jsroute.
Michael Orlitzky [Fri, 7 May 2010 19:25:36 +0000 (15:25 -0400)]
Added a readme for jsroute.

13 years agoAdded the jsroute folder with a shell script and sample Javascript file for routing.
Michael Orlitzky [Thu, 6 May 2010 05:28:21 +0000 (01:28 -0400)]
Added the jsroute folder with a shell script and sample Javascript file for routing.

13 years agoUpdate the README and makefile for env-js.
Michael Orlitzky [Sat, 1 May 2010 18:08:33 +0000 (14:08 -0400)]
Update the README and makefile for env-js.

13 years agoAdded lib/env-js as a submodule.
Michael Orlitzky [Sat, 1 May 2010 18:00:56 +0000 (14:00 -0400)]
Added lib/env-js as a submodule.

13 years agoAdd the objective_coefficient_gcd function to the LinearProgramming class.
Michael Orlitzky [Mon, 26 Apr 2010 20:19:21 +0000 (16:19 -0400)]
Add the objective_coefficient_gcd function to the LinearProgramming class.

13 years agoRemove lp_solve.py and lp_maker.py from the makefile; we depend directly on lpsolve55...
Michael Orlitzky [Mon, 26 Apr 2010 19:48:21 +0000 (15:48 -0400)]
Remove lp_solve.py and lp_maker.py from the makefile; we depend directly on lpsolve55.so now.

13 years agoUpdate the LinearProgramming module to depend directly on the lpsolve55 library.
Michael Orlitzky [Mon, 26 Apr 2010 19:44:27 +0000 (15:44 -0400)]
Update the LinearProgramming module to depend directly on the lpsolve55 library.

13 years agoChange MINIMUM, MAXIMUM to MINIMIZE, MAXIMIZE respectively.
Michael Orlitzky [Mon, 26 Apr 2010 19:40:38 +0000 (15:40 -0400)]
Change MINIMUM, MAXIMUM to MINIMIZE, MAXIMIZE respectively.
Add all useful lp_solve properties as properties of the LinearProgram class.
Create the lp_solve instance of a linear program on-demand.
Cache changes to the linear program until needed.

13 years agoUpdate the example linear program to use the new constants.
Michael Orlitzky [Mon, 26 Apr 2010 17:51:54 +0000 (13:51 -0400)]
Update the example linear program to use the new constants.

13 years agoRemove the inequality constants in favor of those defined by the lp_solve library.
Michael Orlitzky [Mon, 26 Apr 2010 17:51:06 +0000 (13:51 -0400)]
Remove the inequality constants in favor of those defined by the lp_solve library.

14 years agoUpdate example-lp to use the LinearProgram class.
Michael Orlitzky [Mon, 19 Apr 2010 04:56:35 +0000 (00:56 -0400)]
Update example-lp to use the LinearProgram class.

14 years agoAdded the LinearProgramming module.
Michael Orlitzky [Mon, 19 Apr 2010 04:55:24 +0000 (00:55 -0400)]
Added the LinearProgramming module.

14 years agoAdded the start-server helper script, and a README file explaining the Pylons app.
Michael Orlitzky [Sun, 18 Apr 2010 18:32:16 +0000 (14:32 -0400)]
Added the start-server helper script, and a README file explaining the Pylons app.

14 years agoANALYZE the blocks table after it is created.
Michael Orlitzky [Thu, 15 Apr 2010 02:40:19 +0000 (22:40 -0400)]
ANALYZE the blocks table after it is created.

14 years agoAdd a GiST index on blocks.the_geom after we combine the TIGER/SF1 tables.
Michael Orlitzky [Thu, 15 Apr 2010 01:27:20 +0000 (21:27 -0400)]
Add a GiST index on blocks.the_geom after we combine the TIGER/SF1 tables.

14 years agoUpdated the provideTripAlternatives parameter to the newer provideRouteAlternatives.
Michael Orlitzky [Wed, 14 Apr 2010 21:29:17 +0000 (17:29 -0400)]
Updated the provideTripAlternatives parameter to the newer provideRouteAlternatives.

14 years agoUpdated some class names to match a recent Google change.
Michael Orlitzky [Fri, 9 Apr 2010 17:03:35 +0000 (13:03 -0400)]
Updated some class names to match a recent Google change.

14 years agoAdd the example linear programming problem solution via lp_solve.
Michael Orlitzky [Mon, 5 Apr 2010 19:26:17 +0000 (15:26 -0400)]
Add the example linear programming problem solution via lp_solve.

14 years agoAdd a wrapper which sets the LD_LIBRARY_PATH for lp_solve before executing a python...
Michael Orlitzky [Mon, 5 Apr 2010 19:24:28 +0000 (15:24 -0400)]
Add a wrapper which sets the LD_LIBRARY_PATH for lp_solve before executing a python script.

14 years agoSwitch lp_solve.py to solve a minimization problem.
Michael Orlitzky [Mon, 5 Apr 2010 19:22:46 +0000 (15:22 -0400)]
Switch lp_solve.py to solve a minimization problem.

14 years agoMerge branch 'master' of michael.orlitzky.com:/var/www/orlitzky.com/michael/public...
Michael Orlitzky [Mon, 5 Apr 2010 18:35:44 +0000 (14:35 -0400)]
Merge branch 'master' of michael.orlitzky.com:/var/www/orlitzky.com/michael/public/git/census-tools

14 years agoAdd a new makefile for the third-party libraries.
Michael Orlitzky [Mon, 5 Apr 2010 18:33:36 +0000 (14:33 -0400)]
Add a new makefile for the third-party libraries.
Change the 'lib' target in the main makefile to recurse into the 'lib' directory.
Add 'lp_solve' and 'lp_solve_55' directories to the library .gitignore.
Update the readme with new instructions.

14 years agoSwitched the order of the lat/long output in the KML routes to match the API.
Michael Orlitzky [Wed, 31 Mar 2010 22:18:03 +0000 (18:18 -0400)]
Switched the order of the lat/long output in the KML routes to match the API.

14 years agoAdded the wkt_n-gon script.
Michael Orlitzky [Thu, 4 Mar 2010 19:34:30 +0000 (14:34 -0500)]
Added the wkt_n-gon script.

14 years agoFixed a typo.
Michael Orlitzky [Thu, 4 Mar 2010 19:00:14 +0000 (14:00 -0500)]
Fixed a typo.

14 years agoMoved the line-height definition into the body element.
Michael Orlitzky [Thu, 4 Mar 2010 18:59:31 +0000 (13:59 -0500)]
Moved the line-height definition into the body element.

14 years agoFixed the performance of the distance CSV generation.
Michael Orlitzky [Wed, 24 Feb 2010 19:47:10 +0000 (14:47 -0500)]
Fixed the performance of the distance CSV generation.

14 years agoFixed a big array index bug.
Michael Orlitzky [Wed, 24 Feb 2010 19:15:13 +0000 (14:15 -0500)]
Fixed a big array index bug.

14 years agoFixed multiple newlines in the distances output.
Michael Orlitzky [Wed, 24 Feb 2010 18:44:58 +0000 (13:44 -0500)]
Fixed multiple newlines in the distances output.

14 years agoRemoved the Javascript controller.
Michael Orlitzky [Wed, 24 Feb 2010 18:44:41 +0000 (13:44 -0500)]
Removed the Javascript controller.

14 years agoAdded the postback_url parameter to the LocationController.
Michael Orlitzky [Wed, 24 Feb 2010 18:11:15 +0000 (13:11 -0500)]
Added the postback_url parameter to the LocationController.

14 years agoAdded a distances() method returning the distances between consumers/producers.
Michael Orlitzky [Wed, 24 Feb 2010 18:10:44 +0000 (13:10 -0500)]
Added a distances() method returning the distances between consumers/producers.

14 years agoAdded a postback_url parameter to determine where the JSON data is posted.
Michael Orlitzky [Wed, 24 Feb 2010 18:09:09 +0000 (13:09 -0500)]
Added a postback_url parameter to determine where the JSON data is posted.
Modified the construction of the DirectionsRequest so that latitude and longitude are optional.

14 years agoAdded the distances section to the home page.
Michael Orlitzky [Wed, 24 Feb 2010 18:08:18 +0000 (13:08 -0500)]
Added the distances section to the home page.
Updated the file format instructions for the routing section.

14 years agoRenamed the MapUtils class to Form.
Michael Orlitzky [Fri, 19 Feb 2010 15:08:28 +0000 (10:08 -0500)]
Renamed the MapUtils class to Form.

14 years agoCreated a MapUtils object to contain the post_data function.
Michael Orlitzky [Fri, 19 Feb 2010 14:43:59 +0000 (09:43 -0500)]
Created a MapUtils object to contain the post_data function.

14 years agoMoved the post_data() function in to its own static Javascript file.
Michael Orlitzky [Fri, 19 Feb 2010 14:08:52 +0000 (09:08 -0500)]
Moved the post_data() function in to its own static Javascript file.
Added the route template (missing from a previous commit).

14 years agoRenamed the post_directions_result() function to post_data().
Michael Orlitzky [Fri, 19 Feb 2010 14:03:41 +0000 (09:03 -0500)]
Renamed the post_directions_result() function to post_data().

14 years agoMade the routing Javascript render inline on a new view, location/route.
Michael Orlitzky [Fri, 19 Feb 2010 13:56:05 +0000 (08:56 -0500)]
Made the routing Javascript render inline on a new view, location/route.

14 years agoAdded the "maps" Pylons project.
Michael Orlitzky [Mon, 15 Feb 2010 21:01:44 +0000 (16:01 -0500)]
Added the "maps" Pylons project.

14 years agoAdded a Coordinates class, and updated the LineString class to refer to Coordinates...
Michael Orlitzky [Sat, 13 Feb 2010 05:41:01 +0000 (00:41 -0500)]
Added a Coordinates class, and updated the LineString class to refer to Coordinates.OPEN_TAG and CLOSE_TAG.

14 years agoUpdated all of the queries within the Database class to refer to the 'blocks' table.
Michael Orlitzky [Tue, 9 Feb 2010 18:55:57 +0000 (13:55 -0500)]
Updated all of the queries within the Database class to refer to the 'blocks' table.

14 years agoUpdated the queries in blocks2kml to use the new "blocks" table.
Michael Orlitzky [Fri, 29 Jan 2010 14:37:10 +0000 (09:37 -0500)]
Updated the queries in blocks2kml to use the new "blocks" table.

14 years agoFixed a few hard-coded database names in the makefile.
Michael Orlitzky [Fri, 29 Jan 2010 14:24:20 +0000 (09:24 -0500)]
Fixed a few hard-coded database names in the makefile.
Updated the makefile with some new targets to separate the block data from that of the lines.
Include the SF1/TIGER blocks combination in the blocks_db and db targets.

14 years agoAdded the SQL scripts to combine the sf1_blocks and tiger_blocks tables.
Michael Orlitzky [Wed, 27 Jan 2010 23:04:48 +0000 (18:04 -0500)]
Added the SQL scripts to combine the sf1_blocks and tiger_blocks tables.

14 years agoAdded New Jersey to the download_data script.
Michael Orlitzky [Thu, 26 Nov 2009 01:20:51 +0000 (20:20 -0500)]
Added New Jersey to the download_data script.

14 years agoModified the default_option_parser function to return a parser using a VerbatimHelpFo...
Michael Orlitzky [Mon, 16 Nov 2009 01:38:05 +0000 (20:38 -0500)]
Modified the default_option_parser function to return a parser using a VerbatimHelpFormatter.
Updated the scripts using default_option_parser to account for the whitespace changes.

14 years agoAdded an LEHD module, with classes to parse Origin-Destination matrix files.
Michael Orlitzky [Mon, 16 Nov 2009 01:26:15 +0000 (20:26 -0500)]
Added an LEHD module, with classes to parse Origin-Destination matrix files.
Added tests and fixtures for the LEHD module.
Updated the run_tests script to include the new LEHD tests.

14 years agoMoved RecordError in to its own file, Errors.py.
Michael Orlitzky [Mon, 16 Nov 2009 01:01:23 +0000 (20:01 -0500)]
Moved RecordError in to its own file, Errors.py.

14 years agoAdded the LEHD (OnTheMap) technical documentation.
Michael Orlitzky [Mon, 16 Nov 2009 00:09:53 +0000 (19:09 -0500)]
Added the LEHD (OnTheMap) technical documentation.

14 years agoModified the makefile to use the find_file_paths script rather than guessing at some...
Michael Orlitzky [Fri, 13 Nov 2009 02:47:47 +0000 (21:47 -0500)]
Modified the makefile to use the find_file_paths script rather than guessing at some important file locations.

14 years agoRemoved an unnecessary import.
Michael Orlitzky [Fri, 13 Nov 2009 02:23:00 +0000 (21:23 -0500)]
Removed an unnecessary import.

14 years agoMoved the multiple-filename logic inside the find_file_paths function.
Michael Orlitzky [Fri, 13 Nov 2009 02:21:15 +0000 (21:21 -0500)]
Moved the multiple-filename logic inside the find_file_paths function.
Added tests for the FileUtils module, and in particular for the find_file_paths function.
Added two fixtures for the new tests.
Updated the test suite.

14 years agoAdded the find_file_paths script which utilizes the new find_file_paths function...
Michael Orlitzky [Fri, 13 Nov 2009 01:07:42 +0000 (20:07 -0500)]
Added the find_file_paths script which utilizes the new find_file_paths function within the FileUtils module.

14 years agoAdded the find_file_paths function to the FileUtils module.
Michael Orlitzky [Fri, 13 Nov 2009 01:07:11 +0000 (20:07 -0500)]
Added the find_file_paths function to the FileUtils module.

14 years agoAdded the VerbatimHelpFormatter class to the CLI module.
Michael Orlitzky [Fri, 13 Nov 2009 00:59:08 +0000 (19:59 -0500)]
Added the VerbatimHelpFormatter class to the CLI module.

14 years agoFixed a method name in the download_lines function.
Michael Orlitzky [Thu, 12 Nov 2009 23:26:58 +0000 (18:26 -0500)]
Fixed a method name in the download_lines function.

14 years agoModified the makefile to import all of the Summary File 1 data.
Michael Orlitzky [Wed, 11 Nov 2009 21:59:52 +0000 (16:59 -0500)]
Modified the makefile to import all of the Summary File 1 data.

14 years agoModified the Data module and download script to download the Summary File 1 data.
Michael Orlitzky [Wed, 11 Nov 2009 15:57:20 +0000 (10:57 -0500)]
Modified the Data module and download script to download the Summary File 1 data.

14 years agoAdded the path2pop script.
Michael Orlitzky [Wed, 11 Nov 2009 04:40:01 +0000 (23:40 -0500)]
Added the path2pop script.

14 years agoRemoved an unnecessary include.
Michael Orlitzky [Wed, 11 Nov 2009 04:39:44 +0000 (23:39 -0500)]
Removed an unnecessary include.

14 years agoRemoved rows length checks in two places, and replaced them with first-column-not...
Michael Orlitzky [Wed, 11 Nov 2009 04:35:07 +0000 (23:35 -0500)]
Removed rows length checks in two places, and replaced them with first-column-not-None checks.
Removed an unnecessary conditional from get_block_geometry_as_wkt().

14 years agoRenamed pg2kml to blocks2kml; this is more consistent with the lines2kml script.
Michael Orlitzky [Wed, 11 Nov 2009 00:40:19 +0000 (19:40 -0500)]
Renamed pg2kml to blocks2kml; this is more consistent with the lines2kml script.

14 years agoSet a default usage=None for the CLI.default_option_parser() function.
Michael Orlitzky [Wed, 11 Nov 2009 00:39:00 +0000 (19:39 -0500)]
Set a default usage=None for the CLI.default_option_parser() function.
Updated all of the scripts to use the default_option_parser().

14 years agoAdded the CLI module with a default_option_parser() function.
Michael Orlitzky [Wed, 11 Nov 2009 00:31:13 +0000 (19:31 -0500)]
Added the CLI module with a default_option_parser() function.

14 years agoModified the download_data script to download the TIGER blocks.
Michael Orlitzky [Tue, 10 Nov 2009 15:06:40 +0000 (10:06 -0500)]
Modified the download_data script to download the TIGER blocks.
Removed the blocks download targets from the makefile.

14 years agoAdded the Delaware lines to the download_data script.
Michael Orlitzky [Tue, 10 Nov 2009 05:40:22 +0000 (00:40 -0500)]
Added the Delaware lines to the download_data script.

14 years agoAdded a "Related Projects" heading containing a description of TRAGIS.
Michael Orlitzky [Sat, 7 Nov 2009 17:16:00 +0000 (12:16 -0500)]
Added a "Related Projects" heading containing a description of TRAGIS.

14 years agoReplaced a missing "not".
Michael Orlitzky [Sat, 7 Nov 2009 17:15:20 +0000 (12:15 -0500)]
Replaced a missing "not".

14 years agoAdded Python itself, and Shapely to the software requirements.
Michael Orlitzky [Sat, 7 Nov 2009 17:14:37 +0000 (12:14 -0500)]
Added Python itself, and Shapely to the software requirements.

14 years agoChanged most of the <em> elements to <q>.
Michael Orlitzky [Sat, 7 Nov 2009 17:13:46 +0000 (12:13 -0500)]
Changed most of the <em> elements to <q>.

14 years agoAdded styles for blockquotes and regular quotes (<q> elements).
Michael Orlitzky [Sat, 7 Nov 2009 17:11:50 +0000 (12:11 -0500)]
Added styles for blockquotes and regular quotes (<q> elements).
Changed some of the reset styles to use 'inherit' since we don't have to worry about Internet Explorer screwing them up.

14 years agoAdded the first draft of drag_wkt_along_kml_path, most of which is basically cut...
Michael Orlitzky [Sun, 25 Oct 2009 22:23:53 +0000 (18:23 -0400)]
Added the first draft of drag_wkt_along_kml_path, most of which is basically cut-and-pasted from the wkt2kml script.

14 years agoAdded the KML tests to the test script.
Michael Orlitzky [Sun, 25 Oct 2009 22:23:36 +0000 (18:23 -0400)]
Added the KML tests to the test script.

14 years agoAdded the KMLTest module containing the LineString tests.
Michael Orlitzky [Sun, 25 Oct 2009 22:12:34 +0000 (18:12 -0400)]
Added the KMLTest module containing the LineString tests.