2005-12-22

Review: Avalon (2001)

Simon wondered what I thought of Avalon, and I sent him a quick reply. Here's a longer review with possible spoilers. Caveat: I watched Avalon on late night telly, so it might have been a less than engrossing experience compared to watching it in the cinema.

In a dreary and depressed city, people play a virtual combat game called Avalon to earn a living. One of the aces is Ash (Malgorzata Foremniak), a loner who lives with her Bassett hound (a recurring mark in director Oshii's films) in an small flat full of books. She finds out about an extra level in Avalon that can only be entered by defeating the Ghost. Initially reluctant, she joins an old team mate, Stunner (Bartlomiej Swiderski) and a mysterious Bishop (Dariusz Biskupski), in finding this Ghost.

Avalon is fairly dull and plodding. Director Mamuro Oshii overuses repetition in the first half of the film to suggest that Ash's world may be just a simulation. The central plot element of the film, the Avalon combat game, is devoid of tension and linear (defeat the grunts, then beat the boss). In the game, none of the actors look or move like players in fear of their (virtual) lives. The only standouts are the production design of the bleak city and cinematography.

0.5 out of 5 stars.

2005-12-16

Maths: Linear Programming using lpsolve IDE

Quick background: a Mathematical Program (MP) is a mathematical formulation of an optimization problem. Solving an MP means finding the minimum or maximum of an objective function subject to a set of constraints (or limits). A Linear Program (LP) is a subset of MPs where the objective function and the constraints are expressed using linear coefficients (i.e. only + and -). Here is the FAQ and a more thorough definition.

I decided to relearn Linear Programming (LP) so that I could better understand one of my company's products. I've used the solver in Microsoft Excel but it can be inconvenient to translate LP problems into the spreadsheet format. Also, the standard Excel solver is limited to a small number of variables and constraints. Luckily, there's other solvers on the 'Net. First I tried a Python solver, pysimplex, but I couldn't install it on Python 2.4. Then I tried the Windows version of GNU Linear Programming Kit (GLPK) but it doesn't seem to have a user front-end. Finally, I found lpsolve IDE in the Progdigy site, which as a bonus, has both an IDE and the lpsolve solver. Note: lpsolve is also available separately from the lp_solve Yahoo group.

I found the Lpsolve IDE is pretty good for doing exercise problems. It can check the syntax of your problem and display the solution's objective and constraint variables. So far, so good.

2005-12-12

Software: Foxit PDF Reader

Adobe's PDF Reader, acroread 7.0, started scanning PDF documents for the reading order before displaying the document's content. I couldn't figure out how to turn off that feature, so I ditched it and installed FoxIt Software's PDF Reader. It's small compared to acroread (the installer is only 1.1 Mbytes vs 20.8 Mbytes) and starts in a flash. Way to go!