If you want to sublet, you must get the consent of the landlord, otherwise the sublease will be invalid.
As for the expenses incurred by renting a house with your roommate, they can be settled through negotiation.