optim_doc: Structure-based linear constraints

Next: Structure-based configuration settings, Previous: Structure-based gradients and Hessians, Up: Parameter structures [Index]

### 10.3 Specify structure-based linear constraints

Linear constraints, otherwise specified with a matrix and a vector, can be adapted to structure-based parameter handling by specifying, instead of a matrix, a structure containing the rows of the matrix in fields under the respective parameter names. In this case, rows containing only zeros need not be given.