added sentinel for problems with no dims
added c++ compilation test for empty problem