12.01.2013 Views

Water Resources Research Report - Western Engineering ...

Water Resources Research Report - Western Engineering ...

Water Resources Research Report - Western Engineering ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

}<br />

/*============Start Coding Your Objective Function=============*/<br />

val[0] = (x[0]*x[0]+x[1]-11)*(x[0]*x[0]+x[1]-11) + (x[0]+x[1]*x[1]-7)*(x[0]+x[1]*x[1]-<br />

7);<br />

/*========END YOUR CODING UPTO THIS POINT============*/<br />

/*----------------------CODE YOUR CONSTRAINTS HERE------------*/<br />

/*All functions must be of minimization type, negate maximization functions */<br />

/*Constraints must be of the following type: g(x)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!