Algebraic state variables for nlmpc
Ahora está siguiendo esta pregunta
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Se ha producido un error
No se puede completar la acción debido a los cambios realizados en la página. Vuelva a cargar la página para ver el estado actualizado.
0 votos
Comparte un enlace a esta pregunta
Respuesta aceptada
0 votos
Comparte un enlace a esta respuesta
8 comentarios
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
- Check your initial conditions: You need to ensure that the initial condition you have set for your problem is feasible, i.e., it satisfies all the constraints of your problem. If the initial condition doesn't meet this requirement, the optimizer may not be able to find a feasible direction to move.
- Check your nonlinear constraints: You should also check your nonlinear constraints. Ensure that they are correctly implemented, and there's no division by zero, square root of a negative number, log of a non-positive number, or anything else that could lead to undefined results.
- Check your Jacobian function: If you're using a Jacobian, make sure it's correctly defined. The error message suggests that there might be a problem with your function. To verify the correctness of your Jacobian function, you can compare the numerical Jacobian obtained using finite differences to your analytical Jacobian. In MATLAB, you can use the numjac function for numerical Jacobian calculation.
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario

Más respuestas (0)
Categorías
Más información sobre Nonlinear MPC Design en Centro de ayuda y File Exchange.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
