1. A system for providing an online optimization for a cognitive wireless network, said network having a qualitative model of the system dynamics , the system comprising: an input means configured to capture network state information comprising a plurality of state variables and are included in the qualitative model of the system dynamics; a control engine configured to analyze each state variable for determination of action and cognition resulting in a controlled cognitive wireless network, the control engine further comprising: an evaluation module configured to cumulatively build a compact history for each encountered bad configuration for enhanced cognition to achieve a goal variable associated with the state variable; an optimization module adapted to achieve an optimum control configuration of the cognitive wireless network by using the network state information; and an output means configured to generate one or more control parameters to achieve desired goal.