The weight term is the same as the volume term except you have the possibility of constraining your optimization result to have a certain physical weight.
Weight Overview Example: Defining a Weight Design Response