Skip to content

Instantly share code, notes, and snippets.

View alphaville's full-sized avatar
:octocat:
(De)coding

Pantelis Sopasakis alphaville

:octocat:
(De)coding
View GitHub Profile
@alphaville
alphaville / chol_ata_append_col.m
Last active January 19, 2016 22:17
Cholesky modifications for A'A
function [l1, l2, flag]=chol_ata_append_col(L, A, c)
%CHOL_ATA_APPEND_COL updates the cholesky factorization of matrix A'A when a
%column is appended at the end of A, i.e.,
%
%knowning that the cholesky factorization of A'A is
%
% A'A = LL'
%
%we can efficiently compute the Cholesky factorization of the matrix
%
@alphaville
alphaville / gnb1.m
Last active September 25, 2015 14:03
function Vertex = gnb1(A,t1,t2,N)
%GNB1
% calculates a polytopic overapproximation for functions of
% the form f(t)=expm(A*t) for t in [t1,t2] for given t1 < t2 using the
% gridding and bounding algorithm with an underlying Jordan-based
% overapproximation as described in [1].
%
% Syntax Vertex = gnb1(A,t1,t2,N)
% Input:
% A is a square matrix (n-by-n)
@alphaville
alphaville / mpcRicSolve.m
Last active September 17, 2015 16:37
Solve step for the computation of the dual gradient
function [val, grad, e] = mpcRicSolve(y, x0, K, M, L, C, D, d, s, CholRbar, A, B, f, F_N, q_N)
grad = 0;
% sizes
n = size(A,1);
m = size(B,2);
nc_f = size(F_N, 1);
@alphaville
alphaville / mpcCaller.m
Last active September 22, 2015 08:52
Ricatti-like factor step for the computation of the dual gradient of an MPC optimisation problem
clear
clc
n=4;
m=2;
N=10;
Q=10*speye(n,n);
R=10*speye(m,m);
S=[];
{
"meta": {
"comments": [
"latest conf publication"
],
"descriptions": [
"Presented in MED2015"
]
},
"author": "P. Sopasakis and S. Ntouskas and H. Sarimveis",
{
"meta" : {
"comments" : [ "latest conf publication" ],
"descriptions" : [ "Presented in MED2015" ]
},
"author" : "P. Sopasakis and S. Ntouskas and H. Sarimveis",
"title" : "Robust model predictive control for discrete-time fractional-order systems",
"bookTitle" : "Mediteranean Conference on Control and Automation (MED 2015, IEEE)",
"year" : "2015",
"key" : "SopNtoSar15",
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0
Launching GlassFish on Felix platform
Mar 05, 2015 2:10:39 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
Mar 05, 2015 2:10:39 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Mar 05, 2015 2:10:39 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@19321c4d in service registry.
Found populator: com.sun.enterprise.v3.server.GFDomainXml
{
"training_dataset_uri" : "http://jaqpot.org/dataset/123",
"feature_selection": true,
"selected_features" : [1, 2, 5],
"model":"FSKHEKJFBADNFBDABDABSD13123"
}
{
"dataset_uri" : "http://jaqpot.org/dataset/123",
"dependent_features" : [
"http://jaqpot.org/feature/1",
"http://jaqpot.org/feature/2",
"http://jaqpot.org/feature/3"
],
"transformed" : true,
"num_transformed_features" : 6,
"data" : {
db.pred.insert(
{
"feature":"feature/4234524",
"value":0.1343,
"value_type":"numeric"
}
);
db.pred.find(
{feature: