Determination of Electricity Nodal Prices Using Nonlinear Programming Methods