apply metamethod for hash maps.
Tests and improvements to lpsolve interface.