Added max-product LP relaxation

You dont need to print the SGNDArray::get_value(): 

also type dimension