corettialessandro / num-min

A small code to minimize a quadratic function using different methods
0 stars 0 forks source link

Implement minimization through constrained algorithm. #4

Open corettialessandro opened 5 years ago

corettialessandro commented 5 years ago

Implement the function Constrained() to perform constrained minimization using the Lagrange multipliers theory.

corettialessandro commented 5 years ago

Done, additional testing is necessary even if preliminary tests have given good results.

It will be good to unify the three functions Unconstrained, Constrained and Reduced on the basis of the relation btw N_var and N_constr

corettialessandro commented 5 years ago

Implement value of constraints to enforce in the unconstrained case from input files. Implement possibility of enforcing two different partial sums on different sets of variables.