| 41 | } |
| 42 | |
| 43 | double penalty0( double v ) |
| 44 | { |
| 45 | v = fabs( v ); |
| 46 | |
| 47 | if( v > tol ) |
| 48 | { |
| 49 | con_notmet++; |
| 50 | return( v - tol ); |
| 51 | } |
| 52 | |
| 53 | return( 0.0 ); |
| 54 | } |
| 55 | |
| 56 | virtual double optcost( const double* const p ) |
| 57 | { |
nothing calls this directly
no outgoing calls
no test coverage detected