Difference between revisions of "IU:TestPage"

From IU
Jump to navigation Jump to search
Line 1: Line 1:
   
  +
= Optimization =
= Big Data Technologies and Analytics =
 
* '''Course name''': Big Data Technologies and Analytics
+
* '''Course name''': Optimization
* '''Code discipline''': N/A
+
* '''Code discipline''': R-01
* '''Subject area''': P.1 Short Description
+
* '''Subject area''':
   
 
== Short Description ==
 
== Short Description ==
This course covers the following concepts: Advanced distributed data organization; Advanced distributed data processing.
+
This course covers the following concepts: Optimization of a cost function; Algorithms to find solution of linear and nonlinear optimization problems.
   
 
== Prerequisites ==
 
== Prerequisites ==
Line 22: Line 22:
 
! Section !! Topics within the section
 
! Section !! Topics within the section
 
|-
 
|-
| Introduction ||
+
| Linear programming ||
  +
# simplex method to solve real linear programs
# What is Big Data
 
  +
# cutting-plane and branch-and-bound methods to solve integer linear programs.
# Characteristics of Big Data
 
# Technologies
 
# Virtualization and cloud computing
 
 
|-
 
|-
  +
| Nonlinear programming ||
| File systems and resource managers ||
 
  +
# methods for unconstrained optimization
# HDFS
 
  +
# linear and nonlinear least-squares problems
# YARN
 
  +
# methods for constrained optimization
|-
 
| Batch Processing ||
 
# Distributed batch processing
 
# MapReduce model
 
# Applications
 
# Tasks management
 
# Patterns
 
|-
 
| Stream Processing ||
 
# CAP theorem
 
# Distributed storage and computation
 
# Distributed Stream Processing
 
# Usage patterns
 
|-
 
| Analytics ||
 
# Architecture
 
# Use cases
 
# SparkML
 
# GraphX
 
 
|}
 
|}
 
== Intended Learning Outcomes (ILOs) ==
 
== Intended Learning Outcomes (ILOs) ==
   
 
=== What is the main purpose of this course? ===
 
=== What is the main purpose of this course? ===
  +
The main purpose of this course to make the student aware of basic notions of mathematical programming and of its importance in the area of engineering.
Nowadays companies need to manage vast amounts of data on a daily basis. Storing, sorting, accessing and analyzing obtaining synthetic information is considered one of the great challenges of the 21st century and and being effective in this may make the difference between success and failure. In order to gain a competitive advantage, Big Data and Analytics professionals are able to extract useful information from data and increase the Return Of Investments. In this course, students will be exposed to the key technologies and techniques, including R and Apache Spark, in order to analyze large-scale data sets and uncover valuable business information.
 
   
 
=== ILOs defined at three levels ===
 
=== ILOs defined at three levels ===
Line 60: Line 40:
 
==== Level 1: What concepts should a student know/remember/explain? ====
 
==== Level 1: What concepts should a student know/remember/explain? ====
 
By the end of the course, the students should be able to ...
 
By the end of the course, the students should be able to ...
  +
* explain the goal of an optimization problem
* Understanding of big data applications.
 
* Algorithms for the statistical analysis of big data
+
* remind the importance of converge analysis for optimization algorithms
  +
* draft solution codes in Python/Matlab.
* Fundamental principles of predictive analytics
 
   
 
==== Level 2: What basic practical skills should a student be able to perform? ====
 
==== Level 2: What basic practical skills should a student be able to perform? ====
 
By the end of the course, the students should be able to ...
 
By the end of the course, the students should be able to ...
  +
* formulate a simple optimization problem
* How to process batch data
 
  +
* select the appropriate solution algorithm
* How to process stream data
 
  +
* find the solution.
* Advanced design of distributed architectures
 
* Advanced design of distributed algorithms
 
   
 
==== Level 3: What complex comprehensive skills should a student be able to apply in real-life scenarios? ====
 
==== Level 3: What complex comprehensive skills should a student be able to apply in real-life scenarios? ====
 
By the end of the course, the students should be able to ...
 
By the end of the course, the students should be able to ...
  +
* the simplex method
* Write a program for batch processing
 
  +
* algorithms to solve nonlinear optimization problems.
* Write a program for stream processing
 
* Design distributed processing pipelines
 
* Desing distributed algorithms
 
 
== Grading ==
 
== Grading ==
   
Line 85: Line 62:
 
! Grade !! Range !! Description of performance
 
! Grade !! Range !! Description of performance
 
|-
 
|-
| A. Excellent || 90-100 || -
+
| A. Excellent || 86-100 || -
 
|-
 
|-
| B. Good || 75-89 || -
+
| B. Good || 71-85 || -
 
|-
 
|-
| C. Satisfactory || 60-74 || -
+
| C. Satisfactory || 56-70 || -
 
|-
 
|-
| D. Poor || 0-59 || -
+
| D. Poor || 0-55 || -
 
|}
 
|}
   
Line 100: Line 77:
 
! Activity Type !! Percentage of the overall course grade
 
! Activity Type !! Percentage of the overall course grade
 
|-
 
|-
| Labs/seminar classes || 30
+
| Labs/seminar classes (weekly evaluations) || 0
 
|-
 
|-
| Interim performance assessment || 30
+
| Interim performance assessment (class participation) || 1000
 
|-
 
|-
| Exams || 40
+
| Exams || 100
 
|}
 
|}
   
Line 113: Line 90:
   
 
=== Open access resources ===
 
=== Open access resources ===
  +
* Textbook: C.H. Papadimitriou, K. Steiglitz, Combinatorial Optimization, Dover, New York, 1982.
* Slides and material provided during the course.
 
  +
* Textbook: D. Bertsekas, Nonlinear Programming, Athena Scientific, 1999.
* F. Provost and T. Fawcett. Data Science for Business. O’Reilly, 2013
 
* Matthew North. Data Mining for the Masses, Second Edition: with implementations in RapidMiner and R. CreateSpace Independent Publishing Platform, 2012
 
* Tom White. Hadoop: The Definitive Guide. O’Reilly Media, Inc., 2012
 
* Seema Acharya and Subhashini Chellappan. Big data and analytics. WileyIndia, 2016
 
   
 
=== Closed access resources ===
 
=== Closed access resources ===
Line 130: Line 104:
 
|+ Activities within each section
 
|+ Activities within each section
 
|-
 
|-
! Learning Activities !! Section 1 !! Section 2 !! Section 3 !! Section 4 !! Section 5
+
! Learning Activities !! Section 1 !! Section 2
 
|-
 
|-
| Testing (written or computer based) || 1 || 1 || 1 || 1 || 1
+
| Midterm evaluation || 1 || 1
 
|-
 
|-
| Discussions || 1 || 1 || 1 || 1 || 1
+
| Testing (written or computer based) || 1 || 1
|-
 
| Development of individual parts of software product code || 0 || 1 || 1 || 1 || 1
 
|-
 
| Homework and group projects || 0 || 1 || 1 || 1 || 1
 
|-
 
| Midterm evaluation || 0 || 1 || 1 || 1 || 1
 
 
|}
 
|}
 
== Formative Assessment and Course Activities ==
 
== Formative Assessment and Course Activities ==
Line 152: Line 120:
 
! Activity Type !! Content !! Is Graded?
 
! Activity Type !! Content !! Is Graded?
 
|-
 
|-
| Question || Describe the 6 Vs || 1
+
| Question || How a convex set and a convex function are defined? || 1
 
|-
 
|-
| Question || Describe the technologies to support big data || 1
+
| Question || What is the difference between polyhedron and polytope? || 1
 
|-
 
|-
| Question || Design the structure of a cloud architecture for big data || 0
+
| Question || Why does always a linear program include constraints? || 1
 
|-
 
|-
  +
| Question || Consider the problem: <br> minimize c1x1+c2x2+c3x3+c4x4{\displaystyle {\displaystyle {\text{minimize }}c_{1}x_{1}+c_{2}x_{2}+c_{3}x_{3}+c_{4}x_{4}}}<br><math>{\displaystyle {\displaystyle {\text{minimize }}c_{1}x_{1}+c_{2}x_{2}+c_{3}x_{3}+c_{4}x_{4}}}</math> <br> subject to x1+x2+x3+x4=2{\displaystyle {\displaystyle {\text{subject to }}x_{1}+x_{2}+x_{3}+x_{4}=2}}<br><math>{\displaystyle {\displaystyle {\text{subject to }}x_{1}+x_{2}+x_{3}+x_{4}=2}}</math> <br> 2x1+3x3+4x4=2{\displaystyle {\displaystyle 2x_{1}+3x_{3}+4x_{4}=2}}<br><math>{\displaystyle {\displaystyle 2x_{1}+3x_{3}+4x_{4}=2}}</math> <br> x1,x2,x3,x4⩾0{\displaystyle {\displaystyle x_{1},x_{2},x_{3},x_{4}\geqslant 0}}<br><math>{\displaystyle {\displaystyle x_{1},x_{2},x_{3},x_{4}\geqslant 0}}</math> <br> Solve it using simplex method. || 0
| Question || Give examples of the 6 Vs in real systems || 0
 
  +
|-
  +
| Question || Consider the problem: <br> minimize x1+x2{\displaystyle {\displaystyle {\text{minimize }}x_{1}+x_{2}}}<br><math>{\displaystyle {\displaystyle {\text{minimize }}x_{1}+x_{2}}}</math> <br> subject to −5x1+4x2≤0{\displaystyle {\displaystyle {\text{subject to }}-5x_{1}+4x_{2}\leq 0}}<br><math>{\displaystyle {\displaystyle {\text{subject to }}-5x_{1}+4x_{2}\leq 0}}</math> <br> 6x1+2x2 ≤17{\displaystyle {\displaystyle 6x_{1}+2x_{2}\ \leq 17}}<br><math>{\displaystyle {\displaystyle 6x_{1}+2x_{2}\ \leq 17}}</math> <br> x1, x2≥0{\displaystyle {\displaystyle x_{1},\ x_{2}\geq 0}}<br><math>{\displaystyle {\displaystyle x_{1},\ x_{2}\geq 0}}</math> <br> Solve it using cutting-plane and branch-and-bound methods. || 0
 
|}
 
|}
 
==== Section 2 ====
 
==== Section 2 ====
Line 166: Line 136:
 
! Activity Type !! Content !! Is Graded?
 
! Activity Type !! Content !! Is Graded?
 
|-
 
|-
| Question || Describe the characteristics of the different nodes of HDFS || 1
+
| Question || Which are the necessary and sufficient conditions of optimality of a generic minimization/maximization problem? || 1
 
|-
 
|-
| Question || How files and blocks are managed || 1
+
| Question || What is the goal of a descent algorithm? || 1
 
|-
 
|-
| Question || Describe the resource manager || 1
+
| Question || What does it mean to fit some experimental data points || 1
 
|-
 
|-
  +
| Question || Consider the problem: <br> minimize 12(x11+x22){\displaystyle {\displaystyle {\text{minimize }}{\frac {1}{2}}\left(x_{1}^{1}+x_{2}^{2}\right)}}<br><math>{\displaystyle {\displaystyle {\text{minimize }}{\frac {1}{2}}\left(x_{1}^{1}+x_{2}^{2}\right)}}</math> <br> Solve it using the suitable method. || 0
| Question || Describe the lifecycle of an application || 1
 
 
|-
 
|-
  +
| Question || Consider the problem: <br> minimize −(x1−2)2{\displaystyle {\displaystyle {\text{minimize }}-\left(x_{1}-2\right)^{2}}}<br><math>{\displaystyle {\displaystyle {\text{minimize }}-\left(x_{1}-2\right)^{2}}}</math> <br> subject to x1+x22=1{\displaystyle {\displaystyle {\text{subject to }}\ x_{1}+x_{2}^{2}=1}}<br><math>{\displaystyle {\displaystyle {\text{subject to }}\ x_{1}+x_{2}^{2}=1}}</math> <br> −1≤x2≤1{\displaystyle {\displaystyle -1\leq x_{2}\leq 1}}<br><math>{\displaystyle {\displaystyle -1\leq x_{2}\leq 1}}</math> <br> Solve it using the suitable method. || 0
| Question || Describe and compare the scheduling approaches || 1
 
|-
 
| Question || Configure a HDFS cluster || 0
 
|-
 
| Question || Build a HDFS client || 0
 
|-
 
| Question || Use a HDFS command line || 0
 
|-
 
| Question || Configure YARN || 0
 
|-
 
| Question || Evaluate the overall performance of YARN || 0
 
|}
 
==== Section 3 ====
 
{| class="wikitable"
 
|+
 
|-
 
! Activity Type !! Content !! Is Graded?
 
|-
 
| Question || Describe the MapReduce model || 1
 
|-
 
| Question || Describe tasks management || 1
 
|-
 
| Question || Describe patterns of usage || 1
 
|-
 
| Question || Solve with MapReduce a specific problem || 0
 
|-
 
| Question || Implement a usage pattern || 0
 
|}
 
==== Section 4 ====
 
{| class="wikitable"
 
|+
 
|-
 
! Activity Type !! Content !! Is Graded?
 
|-
 
| Question || Analyze the CAP theorem || 1
 
|-
 
| Question || Define the kinds of data storage available || 1
 
|-
 
| Question || Characteristics of stream processing || 1
 
|-
 
| Question || Describe the usage patterns || 1
 
|-
 
| Question || Build a program to solve a problem with stream processing || 0
 
|-
 
| Question || Interact with a NoSQL database || 0
 
|}
 
==== Section 5 ====
 
{| class="wikitable"
 
|+
 
|-
 
! Activity Type !! Content !! Is Graded?
 
|-
 
| Question || Features of SparkML || 1
 
|-
 
| Question || Features of GraphX || 1
 
|-
 
| Question || Write a program using SparkML || 0
 
|-
 
| Question || Write a program using GraphX || 0
 
 
|}
 
|}
 
=== Final assessment ===
 
=== Final assessment ===
 
'''Section 1'''
 
'''Section 1'''
  +
# Why does the simplex method require to be initialized with a correct basic feasible solution?
# Design the structure of a cloud architecture for a specific analytics type
 
  +
# How one can test absence of solutions to a linear program?
# Give examples of the 6 Vs in real systems
 
  +
# How one can test unbounded solutions to a linear program?
  +
# How can the computational complexity of an optimization algorithm can be defined?
 
'''Section 2'''
 
'''Section 2'''
  +
# How is it possible to compute the Lagrange multiplier of a constrained optimization problem?
# Configure a HDFS cluster with some specific replication approaches
 
  +
# Which are the convergence conditions of the steepest descent method?
# Build a HDFS client
 
  +
# Which are the convergence conditions of the Newton’s method?
# Evaluate the performance of a specific configuration
 
  +
# How can one “penalize” a constraint?
# Compare the different schedules
 
'''Section 3'''
 
# Describe the advantages and disadvantages of the MapReduce model
 
# Solve a task designing the solution using MapReduce
 
# Solve a task designing the solution using a composition of usage patterns
 
'''Section 4'''
 
# Identify problems and solutions related to the CAP theorem
 
# Compare solutions with batch and stream processing approaches
 
# Design a system using a NoSQL database
 
'''Section 5'''
 
# Extend the SparkML library with a custom algorithm
 
# Extend the GraphX library with a custom algorithm
 
   
 
=== The retake exam ===
 
=== The retake exam ===
 
'''Section 1'''
 
'''Section 1'''
  +
# Consider the problem:
 
  +
# minimize x1+x2{\displaystyle {\displaystyle {\text{minimize }}x_{1}+x_{2}}}
  +
# displaystyle {\displaystyle {\text{minimize }}x_{1}+x_{2}}}<math>subject to x1+2x2+2x3≤20{\displaystyle {\displaystyle {\text{subject to }}x_{1}+{2x}_{2}+2x_{3}\leq 20}}
  +
# displaystyle {\displaystyle {\text{subject to }}x_{1}+{2x}_{2}+2x_{3}\leq 20}}</math>2x1+x2+2x3≤20{\displaystyle {\displaystyle 2x_{1}+x_{2}+2x_{3}\leq 20}}
  +
# displaystyle {\displaystyle 2x_{1}+x_{2}+2x_{3}\leq 20}}<math>2x1+2x2+x3≤20{\displaystyle {\displaystyle 2x_{1}+2x_{2}+x_{3}\leq 20}}
  +
# displaystyle {\displaystyle 2x_{1}+2x_{2}+x_{3}\leq 20}}</math>x1, x2, x3≥0{\displaystyle {\displaystyle x_{1},\ x_{2},\ x_{3}\geq 0}}
  +
# displaystyle {\displaystyle x_{1},\ x_{2},\ x_{3}\geq 0}}<math>Solve it using simplex method.
  +
# Consider the problem:
  +
# maximize 15x1+12x2+4x3+2x4{\displaystyle {\displaystyle {\text{maximize }}15x_{1}+{12x}_{2}+4x_{3}+2x_{4}}}
  +
# displaystyle {\displaystyle {\text{maximize }}15x_{1}+{12x}_{2}+4x_{3}+2x_{4}}}</math>subject to 8x1+5x2+3x3+2x4≤10{\displaystyle {\displaystyle {\text{subject to }}8x_{1}+5x_{2}+3x_{3}+2x_{4}\leq 10}}
  +
# displaystyle {\displaystyle {\text{subject to }}8x_{1}+5x_{2}+3x_{3}+2x_{4}\leq 10}}<math>xi∈{0,1}{\displaystyle {\displaystyle x_{i}\in \{0,1\}}}
 
'''Section 2'''
 
'''Section 2'''
  +
# Consider the problem:
 
  +
# minimize 100(x2−x12)2+(1−x1)2{\displaystyle {\displaystyle {\text{minimize }}100\left(x_{2}-x_{1}^{2}\right)^{2}+\left(1-x_{1}\right)^{2}}}
'''Section 3'''
 
  +
# displaystyle {\displaystyle {\text{minimize }}100\left(x_{2}-x_{1}^{2}\right)^{2}+\left(1-x_{1}\right)^{2}}}</math>subject to x1, x2≥0{\displaystyle {\displaystyle {\text{subject to }}x_{1},\ x_{2}\geq 0}}
 
  +
# displaystyle {\displaystyle {\text{subject to }}x_{1},\ x_{2}\geq 0}}$
'''Section 4'''
 
 
'''Section 5'''
 

Revision as of 13:39, 10 November 2022

Optimization

  • Course name: Optimization
  • Code discipline: R-01
  • Subject area:

Short Description

This course covers the following concepts: Optimization of a cost function; Algorithms to find solution of linear and nonlinear optimization problems.

Prerequisites

Prerequisite subjects

Prerequisite topics

Course Topics

Course Sections and Topics
Section Topics within the section
Linear programming
  1. simplex method to solve real linear programs
  2. cutting-plane and branch-and-bound methods to solve integer linear programs.
Nonlinear programming
  1. methods for unconstrained optimization
  2. linear and nonlinear least-squares problems
  3. methods for constrained optimization

Intended Learning Outcomes (ILOs)

What is the main purpose of this course?

The main purpose of this course to make the student aware of basic notions of mathematical programming and of its importance in the area of engineering.

ILOs defined at three levels

Level 1: What concepts should a student know/remember/explain?

By the end of the course, the students should be able to ...

  • explain the goal of an optimization problem
  • remind the importance of converge analysis for optimization algorithms
  • draft solution codes in Python/Matlab.

Level 2: What basic practical skills should a student be able to perform?

By the end of the course, the students should be able to ...

  • formulate a simple optimization problem
  • select the appropriate solution algorithm
  • find the solution.

Level 3: What complex comprehensive skills should a student be able to apply in real-life scenarios?

By the end of the course, the students should be able to ...

  • the simplex method
  • algorithms to solve nonlinear optimization problems.

Grading

Course grading range

Grade Range Description of performance
A. Excellent 86-100 -
B. Good 71-85 -
C. Satisfactory 56-70 -
D. Poor 0-55 -

Course activities and grading breakdown

Activity Type Percentage of the overall course grade
Labs/seminar classes (weekly evaluations) 0
Interim performance assessment (class participation) 1000
Exams 100

Recommendations for students on how to succeed in the course

Resources, literature and reference materials

Open access resources

  • Textbook: C.H. Papadimitriou, K. Steiglitz, Combinatorial Optimization, Dover, New York, 1982.
  • Textbook: D. Bertsekas, Nonlinear Programming, Athena Scientific, 1999.

Closed access resources

Software and tools used within the course

Teaching Methodology: Methods, techniques, & activities

Activities and Teaching Methods

Activities within each section
Learning Activities Section 1 Section 2
Midterm evaluation 1 1
Testing (written or computer based) 1 1

Formative Assessment and Course Activities

Ongoing performance assessment

Section 1

Activity Type Content Is Graded?
Question How a convex set and a convex function are defined? 1
Question What is the difference between polyhedron and polytope? 1
Question Why does always a linear program include constraints? 1
Question Consider the problem:
minimize c1x1+c2x2+c3x3+c4x4{\displaystyle {\displaystyle {\text{minimize }}c_{1}x_{1}+c_{2}x_{2}+c_{3}x_{3}+c_{4}x_{4}}}

subject to x1+x2+x3+x4=2{\displaystyle {\displaystyle {\text{subject to }}x_{1}+x_{2}+x_{3}+x_{4}=2}}

2x1+3x3+4x4=2{\displaystyle {\displaystyle 2x_{1}+3x_{3}+4x_{4}=2}}

x1,x2,x3,x4⩾0{\displaystyle {\displaystyle x_{1},x_{2},x_{3},x_{4}\geqslant 0}}

Solve it using simplex method.
0
Question Consider the problem:
minimize x1+x2{\displaystyle {\displaystyle {\text{minimize }}x_{1}+x_{2}}}

subject to −5x1+4x2≤0{\displaystyle {\displaystyle {\text{subject to }}-5x_{1}+4x_{2}\leq 0}}

6x1+2x2 ≤17{\displaystyle {\displaystyle 6x_{1}+2x_{2}\ \leq 17}}

x1, x2≥0{\displaystyle {\displaystyle x_{1},\ x_{2}\geq 0}}

Solve it using cutting-plane and branch-and-bound methods.
0

Section 2

Activity Type Content Is Graded?
Question Which are the necessary and sufficient conditions of optimality of a generic minimization/maximization problem? 1
Question What is the goal of a descent algorithm? 1
Question What does it mean to fit some experimental data points 1
Question Consider the problem:
minimize 12(x11+x22){\displaystyle {\displaystyle {\text{minimize }}{\frac {1}{2}}\left(x_{1}^{1}+x_{2}^{2}\right)}}

Solve it using the suitable method.
0
Question Consider the problem:
minimize −(x1−2)2{\displaystyle {\displaystyle {\text{minimize }}-\left(x_{1}-2\right)^{2}}}

subject to x1+x22=1{\displaystyle {\displaystyle {\text{subject to }}\ x_{1}+x_{2}^{2}=1}}

−1≤x2≤1{\displaystyle {\displaystyle -1\leq x_{2}\leq 1}}

Solve it using the suitable method.
0

Final assessment

Section 1

  1. Why does the simplex method require to be initialized with a correct basic feasible solution?
  2. How one can test absence of solutions to a linear program?
  3. How one can test unbounded solutions to a linear program?
  4. How can the computational complexity of an optimization algorithm can be defined?

Section 2

  1. How is it possible to compute the Lagrange multiplier of a constrained optimization problem?
  2. Which are the convergence conditions of the steepest descent method?
  3. Which are the convergence conditions of the Newton’s method?
  4. How can one “penalize” a constraint?

The retake exam

Section 1

  1. Consider the problem:
  2. minimize x1+x2{\displaystyle {\displaystyle {\text{minimize }}x_{1}+x_{2}}}
  3. displaystyle {\displaystyle {\text{minimize }}x_{1}+x_{2}}}Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle subject to x1+2x2+2x3≤20{\displaystyle {\displaystyle {\text{subject to }}x_{1}+{2x}_{2}+2x_{3}\leq 20}} # displaystyle {\displaystyle {\text{subject to }}x_{1}+{2x}_{2}+2x_{3}\leq 20}}} 2x1+x2+2x3≤20{\displaystyle {\displaystyle 2x_{1}+x_{2}+2x_{3}\leq 20}}
  4. displaystyle {\displaystyle 2x_{1}+x_{2}+2x_{3}\leq 20}}Failed to parse (syntax error): {\displaystyle 2x1+2x2+x3≤20{\displaystyle {\displaystyle 2x_{1}+2x_{2}+x_{3}\leq 20}} # displaystyle {\displaystyle 2x_{1}+2x_{2}+x_{3}\leq 20}}} x1, x2, x3≥0{\displaystyle {\displaystyle x_{1},\ x_{2},\ x_{3}\geq 0}}
  5. displaystyle {\displaystyle x_{1},\ x_{2},\ x_{3}\geq 0}}Failed to parse (syntax error): {\displaystyle Solve it using simplex method. # Consider the problem: # maximize 15x1+12x2+4x3+2x4{\displaystyle {\displaystyle {\text{maximize }}15x_{1}+{12x}_{2}+4x_{3}+2x_{4}}} # displaystyle {\displaystyle {\text{maximize }}15x_{1}+{12x}_{2}+4x_{3}+2x_{4}}}} subject to 8x1+5x2+3x3+2x4≤10{\displaystyle {\displaystyle {\text{subject to }}8x_{1}+5x_{2}+3x_{3}+2x_{4}\leq 10}}
  6. displaystyle {\displaystyle {\text{subject to }}8x_{1}+5x_{2}+3x_{3}+2x_{4}\leq 10}}Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle xi∈{0,1}{\displaystyle {\displaystyle x_{i}\in \{0,1\}}} '''Section 2''' # Consider the problem: # minimize 100(x2−x12)2+(1−x1)2{\displaystyle {\displaystyle {\text{minimize }}100\left(x_{2}-x_{1}^{2}\right)^{2}+\left(1-x_{1}\right)^{2}}} # displaystyle {\displaystyle {\text{minimize }}100\left(x_{2}-x_{1}^{2}\right)^{2}+\left(1-x_{1}\right)^{2}}}} subject to x1, x2≥0{\displaystyle {\displaystyle {\text{subject to }}x_{1},\ x_{2}\geq 0}}
  7. displaystyle {\displaystyle {\text{subject to }}x_{1},\ x_{2}\geq 0}}$