| Current Path : /var/www/html/anand/ |
| Current File : /var/www/html/anand/smat430c.php |
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<header>
<h2> Subject Name: Convex optimization Subject Code: SMAT430C</h1>
<p align="left"><font color="black" size="4">
<b> Objective of the course: </b> Understanding the basics of convex analysis and
solving convex optimization problems. <br> <br>
<b> Outcome of the course: </b> To able to solve convex optimization problems. Drive
the Lagrange dual of the convex optimization problem. <br> <br>
<b> Course outlines: </b> <br>
<b> Unit-I: </b> Affine and convex sets, Operations that preserve convexity, Separating and
supporting hyper planes, Dual cones and generalized inequality. <br><br>
<b> Unit-II: </b> Convex functions, First order and second order conditions of convex
functions, Operations that preserve convexity, Conjugate and quasi convex function. <br> Log
concave and log convex functions. <br><br>
<b> Unit-III: </b> Optimization problems, Equivalent problems, Convex optimization
problems, Linear optimization problems, Linear fractional programming, Qudratic <br>
optimization problems, Least square, Second order cone programming, Geometric programming.
<br><br>
<b> Unit-IV: </b> Duality, The Lagrange dual function, KKT optimality conditions,
Subdifferential of a convex functions, Gradient descent and subgradient descent method, <br>
Nestervo's accelerated method, Newton's method. <br><br>
<b> Text book: </b> S. Boyd and L.Vandenberghe, Convex Optimization. Cambridge
University Press, 2004. <br><br>
<b> Reference books: </b> <br>
1: R. T. Rockafellar. Convex Analysis. Princeton University Press, 1996. <br>
2: G. C. Calafiore and L. El Ghaoui, Optimization Models, Cambridge University
Press, 2014.
<h2> </h2>
<p align="left"><font color="black" size="4"><b> <br>
<a href="pdf\Seating plan during classes.pdf"> Seating plan during classes</a><br><br>
<a href="pdf\Time table.pdf"> Time Table</a><br><br>
<a href="pdf\Problem set-I.pdf">Problem Set-I</a> <a href="pdf\Problem set-II.pdf">Problem Set-II</a>
<a href="pdf\Problem Set-III.pdf">Problem Set-III</a>
<a href="pdf\Problem set-IV.pdf">Problem Set-IV</a>
<a href="pdf\Problem set-V.pdf">Problem Set-V</a>
</b></font><br>
<h3> </h3>
<p align="left"> </p>
<p align="left"><font color="black" size="4"><b> Surprise Quiz [Section-A] :
<a href="pdf\Quiz1(A).pdf">Quiz 1</a>
</b> <b>
<a href="pdf\Quiz2(A).pdf">Quiz 2</a>
</b> <b>
<a href="pdf\Quiz3(A).pdf">Quiz 3</a>
</b> <b>
<a href="pdf\Quiz4(A).pdf">Quiz 4</a>
</b></font><br>
<br>
<p align="left"><font color="black" size="4"><b> Surprise Quiz [Section-B] :
<a href="pdf\Quiz1(B).pdf">Quiz 1</a>
</b> <b>
<a href="pdf\Quiz2(B).pdf">Quiz 2</a>
</b> <b>
<a href="pdf\Quiz3(B).pdf">Quiz 3</a>
</b> <b>
<a href="pdf\Quiz4(B).pdf">Quiz 4</a>
</b></font><br>
<br><br>
<font color="black" size="4"><b>Mid-Semester Exam :
<a href="pdf\QP(mid sem).pdf">Question Paper</a>
</b> <b>
<a href="pdf\MS(mid sem).pdf">Marking Scheme</a>
</b></font><br>
<br><br>
<font color="black" size="4"><b>End-Semester Exam :
<a href="pdf\QP(end sem).pdf">Question Paper</a>
</b> <b>
<a href="pdf\MS(end sem).pdf">Marking Scheme</a>
</b></font><br>
<br><br>
</header>
<br><br><br><br><br>
<content>
<center><h3 class="toggler-37">C2 Marks of DSM: 2022</h3></center>
<ul class="panel-37">
<?php
if(isset($_POST['username']) && isset($_POST['password'])){
$adServer = "ldap://pldap.iiita.ac.in";
$ldap = ldap_connect($adServer);
$username = $_POST['username'];
$password = $_POST['password'];
ldap_set_option($ldap, LDAP_OPT_PROTOCOL_VERSION, 3);
$a = ldap_search($ldap,"dc=iiita,dc=ac,dc=in", "uid=$username");
$b = ldap_get_entries($ldap, $a);
$dn = $b[0]["dn"];
//******************************************************
if(trim($username)==='' || trim($password)==='')
{
echo "Username and Password cannot be blank.";
}
elseif (ldap_bind($ldap, $dn, $password))
{
$username = strtoupper($username);
if (($handle = fopen("C2.csv", "r")) !== FALSE)
{
$flag=0;
if((($data0 = fgetcsv($handle, 1000, ",")) !== FALSE))
{
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE)
{
$num = count($data);
$fileuser = strtoupper($data[0]);
if ($num>0 && $fileuser==$username)
{
$flag = 1;
?>
<h2>Enrolment Number: <?php echo $data[0];?> Name : <?php echo $data[1];?></h2>
<br/>
<table class="fixed">
<col width="250px" />
<col width="100px" />
<thead>
<tr><td><b><u>Exam </u></b></td><td><b><u>Mark</u></b></td></tr>
</thead>
<tbody>
<?php
for ($c=2; $c < $num; $c++)
{
?>
<tr>
<td><?php echo $data0[$c];?></td>
<td><?php echo $data[$c];?></td>
</tr>
<?php
}
break;
}
}
?>
</tbody>
</table>
<?php
}
if($flag==0)
{
echo "No data found for this user. Please make sure that you are attending a valid course this semester";
}
fclose($handle);
}
else
{
echo "Primary data not found. Please inform at anand@iiita.ac.in";
}
}
else
echo "Wrong Username/Password";
ldap_close($ds);
}
else
{
?>
<h4>Log-In using your LDAP credentials</h4>
<form action="#" method="POST">
<label for="username">Username: </label><br>
<input id="username" type="text" name="username" /><br>
<label for="password">Password: </label><br>
<input id="password" type="password" name="password" /><br><br>
<input type="submit" name="submit" value="Submit" /><br>
</form>
<?php } ?>
</ul>
</content>
</body>
</html>