chiark / gitweb /
ypp-sc-tools.web-live.git
14 years agoroutesearch: New macros NEW MCALLOC MCALLOC_INITEACH
Ian Jackson [Fri, 9 Oct 2009 19:54:38 +0000 (20:54 +0100)]
routesearch: New macros NEW MCALLOC MCALLOC_INITEACH

14 years agoWIP routesearch; show values in poe
Ian Jackson [Fri, 9 Oct 2009 19:43:55 +0000 (20:43 +0100)]
WIP routesearch; show values in poe

14 years agoWIP routesearch; stratify by archipelagoes - much better
Ian Jackson [Wed, 7 Oct 2009 23:58:45 +0000 (00:58 +0100)]
WIP routesearch; stratify by archipelagoes - much better

14 years agoWIP routesearch; construct archipelago lookup table
Ian Jackson [Wed, 7 Oct 2009 23:20:57 +0000 (00:20 +0100)]
WIP routesearch; construct archipelago lookup table

14 years agoWIP routesearch; summary stratification output table shows 100s and 10s
Ian Jackson [Wed, 7 Oct 2009 22:52:01 +0000 (23:52 +0100)]
WIP routesearch; summary stratification output table shows 100s and 10s

14 years agoWIP routesearch; stratify results by significant bits of route
Ian Jackson [Wed, 7 Oct 2009 21:13:39 +0000 (22:13 +0100)]
WIP routesearch; stratify results by significant bits of route

14 years agoroutesearch: use presolver
Ian Jackson [Mon, 5 Oct 2009 00:05:03 +0000 (01:05 +0100)]
routesearch: use presolver

14 years agoroutesearch: event counters
Ian Jackson [Sun, 4 Oct 2009 23:56:39 +0000 (00:56 +0100)]
routesearch: event counters

14 years agoroutesearch: Use correct island pair when eliminating!
Ian Jackson [Sun, 4 Oct 2009 23:56:14 +0000 (00:56 +0100)]
routesearch: Use correct island pair when eliminating!

14 years agoroutetrade: Do not instantiate useless island pairs
Ian Jackson [Sun, 4 Oct 2009 22:44:33 +0000 (23:44 +0100)]
routetrade: Do not instantiate useless island pairs

14 years agoShow expected profit in voyage trading plan
Ian Jackson [Sun, 4 Oct 2009 21:46:08 +0000 (22:46 +0100)]
Show expected profit in voyage trading plan

14 years agoWIP routesearch; Cache relevant bits of database in memory
Ian Jackson [Sun, 4 Oct 2009 21:15:45 +0000 (22:15 +0100)]
WIP routesearch; Cache relevant bits of database in memory

14 years agoWIP routesearch; Need stddef.h
Ian Jackson [Sun, 4 Oct 2009 21:15:00 +0000 (22:15 +0100)]
WIP routesearch; Need stddef.h

14 years agoWIP routesearch; New SQL_DISTINCT_{DECL,STEP}
Ian Jackson [Sun, 4 Oct 2009 21:14:19 +0000 (22:14 +0100)]
WIP routesearch; New SQL_DISTINCT_{DECL,STEP}

14 years agoWIP routesearch; next optimisation to do (callgrind says SQL is 50%)
Ian Jackson [Sat, 3 Oct 2009 23:05:20 +0000 (00:05 +0100)]
WIP routesearch; next optimisation to do (callgrind says SQL is 50%)

14 years agoWIP routesearch; route tail guesswork pruning optimisation
Ian Jackson [Sat, 3 Oct 2009 23:04:54 +0000 (00:04 +0100)]
WIP routesearch; route tail guesswork pruning optimisation

14 years agoWIP routesearch; allow -Ddebugflags=0
Ian Jackson [Sat, 3 Oct 2009 20:49:07 +0000 (21:49 +0100)]
WIP routesearch; allow -Ddebugflags=0

14 years agoWIP routesearch; debugging is optional; bugfixes fixed the bug in TODO
Ian Jackson [Sat, 3 Oct 2009 20:44:05 +0000 (21:44 +0100)]
WIP routesearch; debugging is optional; bugfixes fixed the bug in TODO

14 years agoWIP routesearch; bugfixes
Ian Jackson [Sat, 3 Oct 2009 20:38:54 +0000 (21:38 +0100)]
WIP routesearch; bugfixes

14 years agoWIP routesearch; change LP variable names in routetrade to be more like those in...
Ian Jackson [Sat, 3 Oct 2009 20:38:21 +0000 (21:38 +0100)]
WIP routesearch; change LP variable names in routetrade to be more like those in routesearch

14 years agoWIP routesearch; better debugging output
Ian Jackson [Sat, 3 Oct 2009 19:32:03 +0000 (20:32 +0100)]
WIP routesearch; better debugging output

14 years agoWIP routesearch; bug found for todo list
Ian Jackson [Sat, 3 Oct 2009 09:25:10 +0000 (10:25 +0100)]
WIP routesearch; bug found for todo list

14 years agoWIP routesearch; add no. of ports to divisor for per-league
Ian Jackson [Sat, 3 Oct 2009 09:22:23 +0000 (10:22 +0100)]
WIP routesearch; add no. of ports to divisor for per-league

14 years agoWIP routesearch; TODO list items
Ian Jackson [Sat, 3 Oct 2009 09:20:11 +0000 (10:20 +0100)]
WIP routesearch; TODO list items

14 years agoOptimise for per-league too
Ian Jackson [Sat, 3 Oct 2009 09:18:46 +0000 (10:18 +0100)]
Optimise for per-league too

14 years agoUse GLPK's simplex solver instead
Ian Jackson [Fri, 2 Oct 2009 22:02:12 +0000 (23:02 +0100)]
Use GLPK's simplex solver instead
(interior point solver complains about numerical instability)

14 years agoWIP routesearch; fix route trades cache block linked list
Ian Jackson [Sat, 3 Oct 2009 09:04:53 +0000 (10:04 +0100)]
WIP routesearch; fix route trades cache block linked list

14 years agoWIP routesearch; fix IslandTradeEnd memory management
Ian Jackson [Sat, 3 Oct 2009 08:54:20 +0000 (09:54 +0100)]
WIP routesearch; fix IslandTradeEnd memory management

14 years agoWIP routesearch; searcher
Ian Jackson [Sat, 3 Oct 2009 08:38:04 +0000 (09:38 +0100)]
WIP routesearch; searcher

14 years agoCan compute route value
Ian Jackson [Fri, 2 Oct 2009 22:12:51 +0000 (23:12 +0100)]
Can compute route value

14 years agoWIP routesearch; before try not using interior point
Ian Jackson [Fri, 2 Oct 2009 21:58:26 +0000 (22:58 +0100)]
WIP routesearch; before try not using interior point

14 years agoWIP routesearch; before better SQL stmts
Ian Jackson [Fri, 2 Oct 2009 21:10:19 +0000 (22:10 +0100)]
WIP routesearch; before better SQL stmts

14 years agoWIP routesearch: trade value; before separate query for qties
Ian Jackson [Fri, 2 Oct 2009 20:47:33 +0000 (21:47 +0100)]
WIP routesearch: trade value; before separate query for qties

14 years agoWIP route value calculation - compiles, although doesn't run the LP
Ian Jackson [Fri, 2 Oct 2009 19:52:31 +0000 (20:52 +0100)]
WIP route value calculation - compiles, although doesn't run the LP

14 years agoWIP create GLPK thing
Ian Jackson [Tue, 29 Sep 2009 17:57:35 +0000 (18:57 +0100)]
WIP create GLPK thing

14 years agoFix up nislands; use BEGIN
Ian Jackson [Tue, 29 Sep 2009 17:16:32 +0000 (18:16 +0100)]
Fix up nislands; use BEGIN

14 years agoWIP routetrade now can find trades for islandpair but FIXME need to get max islandid
Ian Jackson [Mon, 28 Sep 2009 18:16:07 +0000 (19:16 +0100)]
WIP routetrade  now can find trades for islandpair but FIXME need to get max islandid

14 years agoDebug improved
Ian Jackson [Sat, 26 Sep 2009 18:37:31 +0000 (19:37 +0100)]
Debug improved

14 years agoNew pared-down query for ipair_gettrades
Ian Jackson [Sat, 26 Sep 2009 18:34:57 +0000 (19:34 +0100)]
New pared-down query for ipair_gettrades

14 years agoWIP per-island-pair trades
Ian Jackson [Sat, 26 Sep 2009 18:25:50 +0000 (19:25 +0100)]
WIP per-island-pair trades

14 years agoMove code and decls between convert.[ch] and common.[ch] so that common.[ch] is for...
Ian Jackson [Sat, 26 Sep 2009 18:19:12 +0000 (19:19 +0100)]
Move code and decls between convert.[ch] and common.[ch] so that common.[ch] is for routetrade too

14 years agoWIP routesearch; before one query per pair
Ian Jackson [Sat, 26 Sep 2009 18:01:45 +0000 (19:01 +0100)]
WIP routesearch; before one query per pair

14 years agoDocument the new --upload-* options etc.
Ian Jackson [Sat, 26 Sep 2009 18:00:34 +0000 (19:00 +0100)]
Document the new --upload-* options etc.

14 years agoMerge branch 'stable-3.x'
Ian Jackson [Thu, 24 Sep 2009 18:11:13 +0000 (19:11 +0100)]
Merge branch 'stable-3.x'

14 years agoUse full URLs for query sites 4.1
Ian Jackson [Thu, 24 Sep 2009 18:01:44 +0000 (19:01 +0100)]
Use full URLs for query sites

14 years agoYARRG website is fine
Ian Jackson [Thu, 24 Sep 2009 18:00:12 +0000 (19:00 +0100)]
YARRG website is fine

14 years agoDocument that we actually upload to the main PCTB db
Ian Jackson [Thu, 24 Sep 2009 17:58:48 +0000 (18:58 +0100)]
Document that we actually upload to the main PCTB db

14 years agoSwitch to main PCTB server now we are approved 4.0
Ian Jackson [Wed, 23 Sep 2009 19:58:09 +0000 (20:58 +0100)]
Switch to main PCTB server now we are approved

14 years agoDump bogus XML in _commodmap.xml if we can't parse it
Ian Jackson [Wed, 23 Sep 2009 23:09:43 +0000 (00:09 +0100)]
Dump bogus XML in _commodmap.xml if we can't parse it

14 years agoBetter HTTP User-Agent strings (rot13 the library, say who we are)
Ian Jackson [Wed, 23 Sep 2009 22:55:45 +0000 (23:55 +0100)]
Better HTTP User-Agent strings (rot13 the library, say who we are)

14 years agoDo not allow caller to specify arbitrary content-types
Ian Jackson [Wed, 23 Sep 2009 14:12:46 +0000 (15:12 +0100)]
Do not allow caller to specify arbitrary content-types

14 years agoMinor html style changes
Ian Jackson [Tue, 22 Sep 2009 14:25:57 +0000 (15:25 +0100)]
Minor html style changes

14 years agoMake 2nd row of advanced options its own table
Ian Jackson [Tue, 22 Sep 2009 14:25:22 +0000 (15:25 +0100)]
Make 2nd row of advanced options its own table

14 years agoAdd some more vertical rules
Ian Jackson [Tue, 22 Sep 2009 13:49:24 +0000 (14:49 +0100)]
Add some more vertical rules

14 years agoProperly reject capacity strings which start with a commodity
Ian Jackson [Mon, 21 Sep 2009 17:04:51 +0000 (18:04 +0100)]
Properly reject capacity strings which start with a commodity

14 years agoProblem with PCTB testing server
Ian Jackson [Mon, 21 Sep 2009 16:29:58 +0000 (17:29 +0100)]
Problem with PCTB testing server

14 years agoTODO list rationalisation
Ian Jackson [Mon, 21 Sep 2009 16:29:36 +0000 (17:29 +0100)]
TODO list rationalisation

14 years agoAdd NO WARRANTY to footer
Ian Jackson [Mon, 21 Sep 2009 16:26:22 +0000 (17:26 +0100)]
Add NO WARRANTY to footer

14 years agoBetter description and estimate of reasonable expected loss
Ian Jackson [Mon, 21 Sep 2009 16:13:42 +0000 (17:13 +0100)]
Better description and estimate of reasonable expected loss

14 years agoImprecation against scraping query_offers
Ian Jackson [Mon, 21 Sep 2009 15:59:24 +0000 (16:59 +0100)]
Imprecation against scraping query_offers

14 years agoImprove docs a bit
Ian Jackson [Mon, 21 Sep 2009 15:54:33 +0000 (16:54 +0100)]
Improve docs a bit

14 years agoFix broken url for testing PCTB server
Ian Jackson [Mon, 21 Sep 2009 15:54:25 +0000 (16:54 +0100)]
Fix broken url for testing PCTB server

14 years agoMove "development" page to end of navigation "bar"
Ian Jackson [Mon, 21 Sep 2009 15:45:54 +0000 (16:45 +0100)]
Move "development" page to end of navigation "bar"

14 years agoAbbreviate some variable names in tabsort
Ian Jackson [Mon, 21 Sep 2009 01:43:44 +0000 (02:43 +0100)]
Abbreviate some variable names in tabsort

14 years agoIf entry string is first word of a target string, don't regard it as ambiguous. ...
Ian Jackson [Mon, 21 Sep 2009 01:09:53 +0000 (02:09 +0100)]
If entry string is first word of a target string, don't regard it as ambiguous.  Fixes "nu" for "Nu island"

14 years agoCorrect error message for ambiguous strings
Ian Jackson [Mon, 21 Sep 2009 01:08:52 +0000 (02:08 +0100)]
Correct error message for ambiguous strings

14 years agoRight-justify data ages in tables
Ian Jackson [Mon, 21 Sep 2009 01:04:15 +0000 (02:04 +0100)]
Right-justify data ages in tables

14 years agoRight-justify numerical columns in Prices for commodity
Ian Jackson [Mon, 21 Sep 2009 01:01:31 +0000 (02:01 +0100)]
Right-justify numerical columns in Prices for commodity

14 years agoOffers for location pretty-prints the table
Ian Jackson [Mon, 21 Sep 2009 01:00:29 +0000 (02:00 +0100)]
Offers for location pretty-prints the table

14 years agoDo queries and get basic debugging-style results
Ian Jackson [Mon, 21 Sep 2009 00:25:49 +0000 (01:25 +0100)]
Do queries and get basic debugging-style results

14 years agoFix typo in comment
Ian Jackson [Mon, 21 Sep 2009 00:25:32 +0000 (01:25 +0100)]
Fix typo in comment

14 years agoNew query_offers query; actual implementation TBD
Ian Jackson [Sun, 20 Sep 2009 19:15:19 +0000 (20:15 +0100)]
New query_offers query; actual implementation TBD

14 years agoMinor cosmetic fixes
Ian Jackson [Sun, 20 Sep 2009 19:11:57 +0000 (20:11 +0100)]
Minor cosmetic fixes

14 years agoBreak out generation of commodity and route form entry boxes into enter_* components
Ian Jackson [Sun, 20 Sep 2009 18:59:51 +0000 (19:59 +0100)]
Break out generation of commodity and route form entry boxes into enter_* components

14 years agoMake prices for commodity work again
Ian Jackson [Sun, 20 Sep 2009 17:39:35 +0000 (18:39 +0100)]
Make prices for commodity work again

14 years agoAdd Steve to copyright dates (contributed capital limit)
Ian Jackson [Sun, 20 Sep 2009 17:34:04 +0000 (18:34 +0100)]
Add Steve to copyright dates (contributed capital limit)

14 years agoBreak out code for dbw_lookup_string; support capacity adjustments in terms of commod...
Ian Jackson [Sun, 20 Sep 2009 17:27:21 +0000 (18:27 +0100)]
Break out code for dbw_lookup_string; support capacity adjustments in terms of commodities

14 years agoFix buyer/seller who were swapped in --arbitrage output
Ian Jackson [Fri, 18 Sep 2009 19:48:57 +0000 (20:48 +0100)]
Fix buyer/seller who were swapped in --arbitrage output

14 years agoCope with new tabbed commodity screen on ships 3.6
Ian Jackson [Fri, 18 Sep 2009 19:32:34 +0000 (20:32 +0100)]
Cope with new tabbed commodity screen on ships

14 years agoMerge branch 'ijackson'
Ian Jackson [Thu, 17 Sep 2009 19:03:34 +0000 (20:03 +0100)]
Merge branch 'ijackson'

14 years agoMinor HTML fixes so website validates stevee
Stephen Early [Wed, 16 Sep 2009 11:05:25 +0000 (12:05 +0100)]
Minor HTML fixes so website validates

14 years agoMerge branch 'ijackson'
Ian Jackson [Thu, 17 Sep 2009 00:47:34 +0000 (01:47 +0100)]
Merge branch 'ijackson'

14 years agoMerge branch 'ijackson'
Ian Jackson [Thu, 17 Sep 2009 00:47:12 +0000 (01:47 +0100)]
Merge branch 'ijackson'

14 years agoMerge branch 'web' of /u/ijackson/things/ypp-sc-tools
Ian Jackson [Thu, 17 Sep 2009 00:43:35 +0000 (01:43 +0100)]
Merge branch 'web' of /u/ijackson/things/ypp-sc-tools

14 years agoRevert attempt to dedupe WHERE clauses in SQL query, as it messes up @query_params
Ian Jackson [Thu, 17 Sep 2009 00:43:14 +0000 (01:43 +0100)]
Revert attempt to dedupe WHERE clauses in SQL query, as it messes up @query_params

14 years agoMerge branch 'master' of ../ypp-sc-tools
Ian Jackson [Thu, 17 Sep 2009 00:13:00 +0000 (01:13 +0100)]
Merge branch 'master' of ../ypp-sc-tools

14 years agoUse more glpk's more advanced MIP solver and enable various options; limit cpu
Ian Jackson [Thu, 17 Sep 2009 00:12:37 +0000 (01:12 +0100)]
Use more glpk's more advanced MIP solver and enable various options; limit cpu

14 years agoRevert "In hold" to "Hold:" change
Ian Jackson [Wed, 16 Sep 2009 23:35:28 +0000 (00:35 +0100)]
Revert "In hold" to "Hold:" change

14 years agoFix up so hold status report still works if no capacity limit
Ian Jackson [Wed, 16 Sep 2009 23:32:38 +0000 (00:32 +0100)]
Fix up so hold status report still works if no capacity limit

14 years agoRemove some leftover debugging
Ian Jackson [Wed, 16 Sep 2009 23:28:42 +0000 (00:28 +0100)]
Remove some leftover debugging

14 years agoSupport multi-visit routes (and some other minor improvemnts
Ian Jackson [Wed, 16 Sep 2009 23:25:48 +0000 (00:25 +0100)]
Support multi-visit routes (and some other minor improvemnts

14 years agoImplement constraint on available capital
Stephen Early [Wed, 16 Sep 2009 01:03:52 +0000 (02:03 +0100)]
Implement constraint on available capital

14 years agoMerge branch 'stable-3.x'
Ian Jackson [Fri, 11 Sep 2009 22:44:57 +0000 (23:44 +0100)]
Merge branch 'stable-3.x'

14 years agoDocument "?debug=1" feature
Ian Jackson [Thu, 10 Sep 2009 19:17:47 +0000 (20:17 +0100)]
Document "?debug=1" feature

14 years agoMerge branch 'stable-3.x'
Ian Jackson [Thu, 10 Sep 2009 18:50:06 +0000 (19:50 +0100)]
Merge branch 'stable-3.x'

14 years agoMerge branch 'anaplian' into stable-3.x 3.5
Ian Jackson [Thu, 10 Sep 2009 18:34:13 +0000 (19:34 +0100)]
Merge branch 'anaplian' into stable-3.x

14 years agoRevert bogus parts of "Look for master-info-v2.txt not master-info-2.txt"
Ian Jackson [Thu, 10 Sep 2009 18:33:06 +0000 (19:33 +0100)]
Revert bogus parts of "Look for master-info-v2.txt not master-info-2.txt"

This reverts most of commit c925ba9b2af7a212378a1bb5e9f20697be857523
because that appears to accidentally revert several other changes.

We retain the one intended hunk, in Commods.pm, which had a conflict anyway.

Conflicts:
yarrg/Commods.pm

14 years agoAdd [?] links to help for advanced strings
Ian Jackson [Thu, 10 Sep 2009 17:10:48 +0000 (18:10 +0100)]
Add [?] links to help for advanced strings

14 years agoFix example
Ian Jackson [Thu, 10 Sep 2009 17:10:32 +0000 (18:10 +0100)]
Fix example

14 years agoGate parsing master-info-v* on YPPSC_YARRG_YARRG rather than YPPSC_YARRG_DICT_UPDATE...
Ian Jackson [Thu, 10 Sep 2009 16:03:22 +0000 (17:03 +0100)]
Gate parsing master-info-v* on YPPSC_YARRG_YARRG rather than YPPSC_YARRG_DICT_UPDATE so --dict-no-update works better