ruspy.estimation.mpec.mpec_constraint_derivative¶
-
ruspy.estimation.mpec.mpec_constraint_derivative(maint_func, maint_func_dev, num_states, num_params, disc_fac, scale, trans_mat, mpec_params)[source]¶ Calculating the analytical Jacobian of the MPEC constraint.
- Parameters
- maint_func: func
- maint_func_dev: func
- num_states
python:int The size of the state space.
- num_params
python:int Length of cost parameter vector.
- disc_fac
numpy.float see Discount factor
- scale
numpy.float see Scale
- trans_mat
numpy.array - mpec_params
numpy.array see MPEC
- Returns
- jacobian
numpy.array Jacobian of the MPEC constraint.
- jacobian