begin{align}
&operatorname{maximize}&-sum_{i=1}sum_{j=1} W_{ij}^2
&operatorname{s.t}&sum_{i}^nsum_{j}^nsum_{j’}^n(W_{ij}-W_{ij’})^2leq c
& & 0leq W_{ij} leq 1 quad forall j
& & W_{ii} = 0
end{..
Tag : optimization
I have to find the solution for the transportation problem with some limita..
for the next exercise I need to show that the next function is coercive,
the function is of the form: f(x,y)=x^2 -2xy^2+..
I was writing a procedure that is only applicable in a particular case, but it didn’t feel right to enforce it by contract or raising exceptions, because there’s no problem with calling it in other contexts; it just shouldn’t do any..
I have an interesting “real-world” combinatorial optimization problem that I need to solve programmatically, however I have yet been able to whiteboard a good str..
I am in a situation I cannot decide which approach is the most optimal (performance wise) while being maintainable at the same time (in the sense of having a clear l..
In the seminal 1989 Microsoft memo Zero-defects code by Chris Mason (which is still a great read even today), the term ‘hand native’ is used several times. Some exa..